shivangiarorambd Posted August 22, 2023 Share Posted August 22, 2023 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 More sharing options...
Thomas Tibcken Posted August 22, 2023 Share Posted August 22, 2023 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-contentsThis Q&A might also be helpful for you:https://community.jaspersoft.com/questions/1216536/how-access-toc-numbering-each-headingLet me know if that will help. Regards TT Link to comment Share on other sites More sharing options...
shivangiarorambd Posted August 23, 2023 Author Share Posted August 23, 2023 Hi,Thanks for your response.I am not using report book. There is only a single report that I am creating. Can I still use this feature or is there any other way we can create TOC ? Link to comment Share on other sites More sharing options...
Thomas Tibcken Posted August 23, 2023 Share Posted August 23, 2023 I think the most simple solution will be to use the Report Book Template, but only the TOC and your Report as content. You can use the properties of the Bookmarks (with Level) and Hyperlinks and the TOC will be generated automatically. Regards TT Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now