Quickreports with multiple pages

1.3k Views Asked by At

Assuming that I have a Title, sub detail and footer. Both footer and title are static (won't change) while the sub detail is dynamic, basically drawing a table from a database.

How is it possible to make it load a specific amount of lines in the Sub-detail and creating as much pages as needed? Let's say I have 30 lines in my database table. and I want to limit 10 lines per page. that will make it 3 pages

2

There are 2 best solutions below

0
On

you could have a local variable keeping track of the number of time the detail before print event has been called. Once it hits 10 call NewPage()

1
On

You can use a child band Enter your text in the child band, and when the data is more than one page, place a portion of your data on the next pages. You can have more than one child band.