agostinho Posted November 21, 2023 Share Posted November 21, 2023 Good morning, I need to generate a book, where I must increase a parameter that contains its number and start the page number, this is based on a parameter that contains the limit of pages that a book must have, I am not using sub-reports, just group based on a date. Is there a way I can do this? Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted November 27, 2023 Share Posted November 27, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
Domenico Donofrio Posted December 12, 2023 Share Posted December 12, 2023 Hello agostinho, in any jasper report there is the bundled variable $V{PAGE_NUMBER} that can be used to track page numbers. Specifically: You can set the $V{PAGE_NUMBER}'s print when expression to "REPORT" when you have to display total pages and, $V{PAGE_NUMBER}'s print when expression to "NOW" when you have to display current page number. Link to comment Share on other sites More sharing options...
agostinho Posted December 14, 2023 Author Share Posted December 14, 2023 (edited) Thanks for the return, I need to reboot the page_number when the variable page_number is equal to 200 for example; I would have a variable V_LIVRO = x, when page_number reaches 200, I need to restart page_numer = 1 and V_LIVRO = x+ 1; Edited December 14, 2023 by agostinho 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