Jump to content
Changes to the Jaspersoft community edition download ×

Reset Page number


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Yes, it is possible.

Let's say your paramter is  "P_MAX_Page" which stores maximum number of pages.

Then you just need to create a variable as follows which will store reset page number:


Value Class Name: java.lang.Integer

Expression: $V{PAGE_NUMBER} % $P{P_MAX_Page} == 0?$P{P_MAX_Page}:$V{PAGE_NUMBER} % $P{P_MAX_Page}



Link to comment
Share on other sites

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...