
Anu de Deus
Anu de Deus
About
- Username
- Anu de Deus
- Location
- Hampshire, UK
- Joined
- Visits
- 0
- Last Active
- Roles
- Members
Comments
-
Ah ok, I found a Windows start menu link to Delphi Update. Not the first place I usually look for this stuff (I was expecting an IDE option of some sorts)
-
gpi, what D2010 updates? I never found any, is there one?
-
You misplaced "position := 0", this is the correct code: Â Â frxReport.SaveToStream(s_out); Â Â s_out.Position:=0; Â Â frxReport2.LoadFromStream(s_out);
-
Gordon is right, you should remove all settings of type 'auto' that affect dimension or position of the elements in question, including alignments. And personally, I would also set the wordwrap to false. By doing that, you would be closer to a WYSI…
-
Your code is fine, but you used the wrong event. Try on Page1OnBeforePrint instead. You see, after you make the pagefooter INVISIBLE, it will not call OnBeforePrint event again, will it? After all, an INVISIBLE element doesn't print, hence no OnBe…
-
Would you like to tell us what error message do you get? I mean, you don't want anyone asking "is the printer cable connected to the computer?"...
-
It looks to me that your lines would behave exactly like a watermark, i.e. an object independent of any bands that are repeated in every page. I haven't used those, but I remember seeing something about it here in the forums. Search for the work '…
-
You can do it by code, before calling prepare or show report. You need to load your report into a local TFRXreport object, then find the tfrxpicture object in the objectlist, and assign its properties. I have something like this: (lPic is curre…
-
I make my components invisible all the time, but I don't have that problem of yours. However, I'm doing mostly by code (I assume it has same effect as if done with the desginer), before calling .PrepareReport or .show At which point are you doing …
-
sort out your SQL statement instead (if possible, in your case): select A, Sum(B),Sum( c ), Sum(D) from tableA group by A
-
Try putting a memoview object directly into the page body (not in any band), set its property align = alClient, enable its left frame only (for the vertical line), and finally right-click on it and select "send to back". If the line is displayed c…
-
I don't think so. Can't you display a parameters dialog box to the user before generating it, so you make the controls invisible before calling preparereport()?
-
gordk wrote: » the other option is to check for empty string or 0 for numeric fields. Sorry Gordon, but that is not an (inteligent) option in any language or script in the world!
-
fReport.PrepareReport(true); fReport.DesignReport(True); John Pendule wrote: » Hi, Is this code correct: with TfrxReport.Create(Application.MainForm) do try DesignReport(True); finally Free; end; because no designer is shown. …
-
I can't give you a full direct answer, only ideas (your problem is quite complicated). I thought you could start by doing something like this: select *, 0 as Ordering from yourtable then apply some logic to it by code, like you pre calculate…
-
But if you really want the hard way, take a look at my last entry in this topic: http://www.fast-report.com/en/forum/index....amp;#entry18583
-
Your problem is sorting the data, not the report layout. Find a way to sort your data in the sql and your life will be much easier. My suggestion: add a field to your data, probably inside your sql lines, just for the ordering.
-
It's possible, but not in 1 or 2 lines as you would like to have. What you need is to put code in the OnPage1BeforePrint script to do the hard work. First, in your designer, I suggest you use the MemoView.tag property of every field to be displaye…
-
Try moving back one record in your datasource: procedure OnGroupFooter1BeforePrint(sender); begin   YourDataset1.previous; end;
-
Can you manually go to "C:\Program Files (x86)\FastReports\FastReport 4\LibD11\" and create a file there?
-
gworboys wrote: » ... now I am back with the old and everything is nice and fast again. What exactly do you mean as 'old pdf processor'? Which version is working best for you? Thanks
-
fReport.OnProgressStop := ProgressStop; procedure TFormRptProgress.ProgressStop(Sender: tfrxReport; ProgressType: TfrxProgressType; Progress: Integer); begin showmessage('Finished preparing pages'); end;
-
Yes, try using the same codes as HTML. However, it's possible that they are coded inversely (RGB instead of BGR), so put as many colors as you can and test it. If the codes are inverted, you can convert it, but I'm not going to teach you how to do…
-
Sure. Font.color is a cardinal value, this is for example is black: alum1mAS1.font.color:= 0; And this is red: alum1mAS1.font.color:= $0000FF; // or 255; So, what you need is a field (integer type) with the color value: alum1mAS1.font.co…
-
Sure, I do it all the time, but there is no automatic way of doing it, you will have to do all the work/code (like I did). For i:= 0 to Adoquery1.fields.count-1 do lMemo := TfrxMemoView.create ..... Then you set the text property of the memo,…
-
It's a quite serious issue, but you have quite a problem here. You need FastReports to implement it. I don't suppose they will do it just because YOU need it. My suggestion: you need to (if you don't have yet) get the FR license with the source c…
-
Simple, just replace your Punt detail band with a Master band. Yes, you can have MANY Master bands in a page.
-
Did you try hardcoding like this, just to see if it runs? select * from ServiceAccent_Temp where serial_no = '098098Y' or select * from ServiceAccent_Temp where serial_no like '098098Y'
-
Very simple: your query should treat the serial_no as string, not a number. No ideas yet? How about some quotation marks around @serial? select * from ServiceAccent_Temp where serial_no = '@serial' I'm not used to have parameters in my que…
-
No, nothing like that. The report will process the entire page1 first, then the page2. So if you have 100000 rows to be printed in page1, you might have hundreds of the page1 in the preview before starting page2. As I said, create simple examples …