Displaying the footer,masterdate2 and report summary at very end of the page

edited 10:41PM in FastReport 3.0
Dear Sir,

We had a document like

Report Title1
Header1
MasterData1(Multiple records)
Child1
Footer1
MasterData2(which it has multiple records)
ReportSummary1


Now After masterdata1 ,child1 has some vertical lines which will be extended.

And footer,masterdat2,reportsummary should come at end of the page only.

With your suggestion in posts,obp event for footer band has been added by modifying like,

procedure Footer1OnBeforePrint(Sender: TfrxComponent);
begin
while engine.freespace > Child1.height+Footer1.height+MasterData2.height+ReportSummary1.height do
begin
engine.showband(Child1);
end ;
end;

begin

end.

In this case,as masterdata2 band increases the width,report summary band goes to starting of the
next page.

Please provide me the solution that where footer,masterdat2 and report summary band should
always come together and should occupy very end of the last page.

Thanks in Advance.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:41PM
    try this
    (Child1.height+Footer1.height+MasterData2.height+ReportSummary1.height)-1

    the other alterative is to use the overlay method for your lines.
  • edited 10:41PM
    Working fine.

    Thanks a lot gordk..

Leave a Comment