Print report summary at end of page
hi,
i am not able to get my report summary page to print at the end of the last page.
It prints immedately after my details band. which is does not fit in my pre printed form.
i am using delphi xe wth fastreport 4.11.14
any pointers will be appreciated.
thanks in advance.
regards
mra
i am not able to get my report summary page to print at the end of the last page.
It prints immedately after my details band. which is does not fit in my pre printed form.
i am using delphi xe wth fastreport 4.11.14
any pointers will be appreciated.
thanks in advance.
regards
mra
Comments
engine.newpage
Engine.NewPage;
but the summary totals is printing on at a brand new page and not at the last page of the printing.
any pointers.
regars
rashid.
mra, did you ever get a solution for this? I need to do the same thing for an Invoice. There is ample space on the last page, but the summary is printed directly after the last detail instead of at the botton of that page.
mra, did you ever get a solution for this? I need to do the same thing for an Invoice. There is ample space on the last page, but the summary is printed directly after the last detail instead of at the botton of that page.
[/quote]
mra, if your'e interested I think i found the solution somewhere in the forum.
Add this to your OBP event of the summary band
Engine.CurY := Engine.CurY + Engine.FreeSpace - ReportSummary1.Height - 1;
begin
if engine.freespace > reportsummary1.height then
begin
Engine.CurY := Engine.PageHeight -reportsummary1.height -pagefooter1.Height - 1;
end;
end;
OR IF STRETCHING DO IT HERE
procedure ReportSummary1OnAfterCalcHeight(Sender: TfrxComponent);
begin
Engine.CurY := Engine.PageHeight -reportsummary1.height -pagefooter1.Height - 1;
end;