Question “How can I force a page break on specific data values?” Solution This example conditionally controls pagination by using a PageBreak component in the detail band andconditionally toggling the PageBreak.Visible property. Download: PageBreakDataValueRAP.zip Sample RAP code: procedure DBText1OnPrint; begin { force a page break } if orders['OrderNo'] = 1010 then PageBreak1.Visible := True else Full Article…
Search the Wiki
Viewing 277 to 279 of 408 items
How To…Collate Subreport Pages
Question “How can I can collate the pages of my subreport?” I have two subreports and would like for the pages to alternate subreport1 page 1, subreport2 page 1, subreport1 page 2, subreport2 page 2,.. Solution This example generate the pages to cache, then re-orders the page cache, prior to preview. Download: CollateSubReportPages.zip Sample Delphi Full Article…
How To… Print Two Copies Per Page
Question “How do I print two copies of the same report on a single page?” Solution Use Fixed style subreports sized to exactly half the paper height inside the detail band of the report. If you would like any overflow to move to the next page, be sure to set the TraverseAllData property of the Full Article…