How do I limit the number of rows on each page?

2019-01-26 17:24发布

问题:

I would like to be able to control the max number of rows in each page to 5. How can I accomplish this?

回答1:

You probably need add a "Break" element to your Detail band with a Print When Expression similar to this:

$V{REPORT_COUNT} % 5 == 0