Jump to content

PAGE_COUNT variable giving wrong result in jasper report ...


priyad

Recommended Posts

/PageCountProblem.jpg

I am using jasper reports 4.0, I am using the built-in PAGE_COUNT variable for displaying  the record number on each page. In the last column - highlighted in attached image, I am printing the record number, but sometimes it is giving incorrect value when entries go on next page.

 

 

 

 

 

 

 



Post Edited by priyad at 03/28/2012 15:33
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

YEs, the variable $V{PAGE_COUNT} comes with a default evaluation time, which - as in your case- resets every page. You can change the evaluationtime and thereby affect the time the variable is reset.

This option comes under the variables propertiessettings.

Link to comment
Share on other sites

  • 6 months later...

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