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

edited 4:25AM 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 4:25AM
    try this
    (Child1.height+Footer1.height+MasterData2.height+ReportSummary1.height)-1

    the other alterative is to use the overlay method for your lines.
  • edited 4:25AM
    Working fine.

    Thanks a lot gordk..

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.