Anu de Deus
Anu de Deus
About
- Username
- Anu de Deus
- Location
- Hampshire, UK
- Joined
- Visits
- 0
- Last Active
- Roles
- Members
Comments
-
Then you need to create a databand for each page, assign nothing as datasource to it, Recordcount=1, and use it as the parent: TfrxLineView.Create(DataBand1 (2,3,etc)) commuch wrote: » Hi Anu de Deus, Thank you. But I have a different lin…
-
Put it inside a band, like a page header, or databand: myLine := TfrxLineView.Create(PageHeader1); commuch wrote: » procedure MemoProcessRequireOnBeforePrint(Sender: TfrxComponent); var myLine :TfrxLineView; begin myLine := Tfrx…
-
set your textbox3.DisplayFormat.FormatStr to %2.2f
-
Before I can present you with my solution can you tell me if Text1 to Text4 are the data values for different fields of the SAME record, i.e. the same animal, with same picture, and your picture and all MemoViews are in the same databand? And can yo…
-
I normally display my own progress window, with a Stop button on it: procedure TFormRptProgress.btnStopClick(Sender: TObject); begin fReport.Terminated := true; end;
-
I'm not sure about this, but try using Get() in your OnBeforePrint: StrVar := Get(MemoView1.text); But keep in might that you probably need to trim the memoview.text value, see this post: http://www.fast-report.com/en/forum/index....amp;#ent…
-
Doesn't Trim only remove blank spaces, leaving the CRLF there?
-
Any memo text value will have a CRLF in the end. You could do this: lTxt := memo1.text; // Internally, it will have 'Joe'#13#10 delete(lTxt,length(ltxt)-1,2); Memo1.text := lTxt +' Smith';
-
I suppose you did set the query.Active := true before you run the report, and kept it active all the way when previewing it, right?
-
When calling from/after a preview, the dataset has been loaded and all variables parsed (because PrepareReport has been called) At that moment, you are not designing the actual report object, you are designing the preview output. I don't think the…
-
I'm not sure what you mean by "Excel sheet without empty rows". My point is: when you export to Excel, the dialog box that opens has a 'Continuous' checkbox option, amongst many others. But the 'Continuous' is not available as a property of the Fr…
-
My guess is that the thousand separator is coming from the Windows reginal settings. Change it there and see if it affects the report. You will probably be safer if you logoff and logon again for the changes to take effect (or reboot). In my point…
-
Thank you
-
Yes, probably all you need is to prepare the report. And make sure that the memoview object receiving the texts have the ExpressionDelimiters = '[,]' (default value) and AllowExpressions = true (also default) However, if any of the delimiters appe…
-
As far as I know, the only thing to keep in mind is that TfrxImage loses transparency information when exporting PNG images to PDF (maybe other formats too)
-
Did you do report.preparereport; before the report.print?
-
I'm don't have any idea on how a RichText is stored, but isn't it based on some kind of text tags, like HTML or XML? If it is, just find the contents between the 'start' and 'end' tags, concatenate them together and put in one final richtext. (tha…
-
just delete the showmessage and put this instead: MyLabel.update;
-
Read this, might help, specially the LAST entry: http://www.fast-report.com/en/forum/index....lt;page>
-
The fs14 package is very likely to be the FastScripts one. Just as a wild guess, try this: download the fastscripts components separatetly (you can find it in the downloads page in the FR website) and install it separately, without removing what yo…
-
In that case, try changing the format string to text only
-
DateRange.AllowExpressions := true / false
-
I agree with that: support is dead, as far as I'm concerned
-
AFAIK, you cannot have nested expression delimiters [ ], i.e. the brackets inside other brackets. I think [A]**[C] would be fine, but [A*[B*C]] wouldn't. Do what Mick.pl suggested, your solution is in the scripts.
-
Personally, I would do: var theFirspage : TfrxReportPage; MyBMP: TBitmap; begin theFirspage := TfrxReportPage(myreport.Pages[1]); MyBMP:=TBitmap.create; theFirspage.BackPicture.Bitmap:=MyBmp; Then AFTER you are finished with the report (…
-
I just realised that maybe fs_iinterpreter.pas might be available to Standard users as well, but I can't be sure as I don't intend to revert to that version anymore. Those willing to try it, see if you can change fs_iinterpreter.pas, recompile and …
-
What happens if you remove myreport.Clear; and leave the Except..End block empty?
-
Try this: (..) frxReport1.Variables.Variables:= userId; frxReport1.PrepareReport; frxReport1.ShowReport(); (...)
-
Well, if you are trying to squeeze the characters, I don't think it's possible. There is something that you might want to try in the lack of better solution. In the tfrxMemoView object, you have the CharSpacing property. Although it doens't affect…
-
Ok, thanks. Anyway, I decided to test the expression in a fresh new report and it worked just fine. FR 4.10.6, Vista SP2, Delphi 2010 with all updates BTW, suggesting anyone to update to latest version of code is fine, forcing is definetly not fi…