I am trying, to put in report pagination But! I have new report on each page, this is the problem page_number field show me always "1" on every page I think it happens because on each page new report So could you help me P.S: Sorry for my english
Asked
Active
Viewed 1,693 times
2 Answers
1
Add Variable $V{PAGE_NUMBER}
and set Evaluation time to Now
and if you want the total number of pages set Evaluation time to Report

Nilesh Naik
- 139
- 3
- 15
-
I set eTime on Now but it did not help, they always shows 1 of 1 , as i sad before i think it happens because, my code create many reports in one (for example pdf) document and each report have one page – Samat Yeshernkulov Nov 01 '14 at 04:37
0
Following steps resolved this for me.
- In the Project Explorer, open the jrxml of the page from where you want the numbers to start from 1.
- In the design tab, double-click the text field containing the page number element. Example: $V{PAGE_NUMBER}.
- In the Properties window, in the Expression field, type $V{MASTER_CURRENT_PAGE}.
- Click Finish.
- Check the preview.

Nikhil Mahajan
- 1
- 2