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

Total pages of a report


l_urkia

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I'm not exactly sure what you are asking, but I'm going to atake a wild stab in the dark and try to answer. If I am way off, please restate your question with more detail.

What I assume you are asking. - How do I print the total number of pages on a report?

Answer - There is a built in variable "$V{PAGE_NUMBER}" that you can use. When you get this element on your report, set the evaluation time to "Report" so it shows the total number of pages in the report.

Link to comment
Share on other sites

That´s not what i´m asking, but anyway thanks for the help!

 

 

The scenario is that i have done a report in ireport, then i have  uploaded to the JasperServer. I have done a web app that gets the JasperServer utilities via web services (Rest API) to show that report (on HTML) in my app. The problem is that i show only one page and then i want to paginate it, but i don´t know how many pages the report  have. I have to show more than one different reports,so the page total number it´s not always the same.

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