Detail Data: limit the number of records

edited February 2021 in FastReport VCL

hi,

I need to generate a two-sided report. In Detail Data, In the first page I need to limit the number of records to 15, and in the second page I need to limit the number of records to 8.

- Page 1 : 15 records.

- page 2 : 08 records.

How to do it please?

thanks

Comments

  • Try to use

    if (<Line> = 16) or (<Line> = 24) then Engine.NewPage

    in the band's OnBeforePrint event in the script

Leave a Comment