Limit rows per page delphi 5

Hi to all,

i have a report with many rows... but, i need to limit to 15 rows per page, i had use ROWCOUNT Property of a MASTERDATA but only print 15 rows, and the TQUERY has 32 rows, i need to print all rows, but just only 15 rows per page

how can i limit rowcount per page to 15 rows?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:47PM
    use the line# variable and modulo math
    in the obp event of the band write code to
    check the line# variable and use engine.newpage to force the newpage.

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.