Jump to content

How to calculate page number in jasper report?


shivangiarorambd

Recommended Posts

I have a "table of content" at first page of the report in which I want to have page numbers values.

How can I calculate the page number in jasper report and put the correct numbers in "Table of Contents" list.

Have a look on the report I have attached - I want to add page numbers associated with each country name.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

if you use the Report Book from the Templates you will get a Table of Content. How to link the used Reports and what to do to send the correct Page-Numbers to the TOC will be explain in the Documentation here:

https://community.jaspersoft.com/documentation/jaspersoft-studio-user-guide-820/v820/configuring-table-contents

This Q&A might also be helpful for you:

https://community.jaspersoft.com/questions/1216536/how-access-toc-numbering-each-heading

Let me know if that will help. 

Regards TT

 

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