Band at the bottom of the report

Hello. I have a report with PageHerder1, MasterData1, MasterData2, ReportSummary1 and PageFooter1. I need MasterData2, ReportSummary1 and PageFooter1 to be at the bottom of the page. Exactly in that sequence. I got the ReportSummary1 and PageFooter1, however, the MasterDSata2 (variable height) is not above ReportSummary1. I would like help to resolve this.

Comments

  • gpigpi Volnovakha, Ukraine

    Try to use in the MasterData2.OnAfterCalcHeight:

    if Engine.FreeSpace < MasterData2.Height + ReportSummary1.Height + 0.0001 then Engine.NewPage;

    Engine.CurY := Engine.CurY + Engine.FreeSpace - (MasterData2.Height + ReportSummary1.Height + 0.0001);

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.