Jump to content
We've recently updated our Privacy Statement, available here ×

Limit Records per page


senthilchettyin

Recommended Posts

Hello

I want to display only 6 records in the detail section of each page. After looking forum, i did the following

1. Insert break element in the detail section

2. I just added "new java.lang.Boolean((int)($V{REPORT_COUNT}.intValue())%6==0)" in print when expresssion 

3. Change the break type to "Page"

It works fine for 5 record, 11 record, 15 record, etc. But when it comes with multiple of 6, that is 6 record, 12 record, then it always print one extra page at the end.

Why this behaviour ?

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...