Jump to content
JasperReports Library 7.0 is now available ×

how to get the total number of pages of a report


serfer2

Recommended Posts

Hi all.

I know how to print the "page x of y" in a iReports report. But I need to get the total number of pages of a report in a variable to make some changes in a portion of java code and some other things... Can somebody help me?

 

Thanks a lot ;)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

No, I can´t.

 

I need the value in a variable, not in a text field in the report.

 

The question is to have the number of total pages in a variable for do something in a scriptlet, not for display the value with a text field in the report.

 

Thanks ;)

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