I am using the OnNeedData feature with an array that expands many qrLabels in band configuration - (Delphi 2010 and QuickRep 5) - On a multi-page report, I have to find every next page (2, 3, 4 etc.) and modify the first line in the extension band.
Everything works fine, except that the internal page number variable (QuickReport.QRprinter.pagenumber) does not increase before the first line printed (or shown).
For example, if I print spam deleted of labels with captions, the page number of page 2 is equal to Page 1 And the remaining rows on that page will be shown correctly Page 2 . This is the case for all the pages. Can someone help me find a way to identify the beginning of a new page, I have tried the thanks OnEndPage, OnStartPage, BeforePrint, etc. Without success - the counter always increases the expansion has been printed after the first line of the band ...
Quickrep1 in
PageheaderBand
QuickRep1.QRPrinter .PageNumber Check
OnBeforePrint the event handler of that
PageHeaderBand .
Comments
Post a Comment