santosh.audi19 Posted November 15, 2016 Share Posted November 15, 2016 Hi Everyone,How to print Page numbers like "Page 1 of 10" by putting the Expression in one Test Field.Usually we do this by using 2 test fields where One Text field has Evaluation time as "Now" other has "Report". Is it possible to put in one Text field.Regards,Santosh. Link to comment Share on other sites More sharing options...
lucianc Posted November 17, 2016 Share Posted November 17, 2016 Starting with JasperReports 6.0.0, you can create a text field having evaluationTime="Master" and use something like "Page " + $V{MASTER_CURRENT_PAGE} + " of " + $V{MASTER_TOTAL_PAGES} as text expression.Regards,Lucian Link to comment Share on other sites More sharing options...
santosh.audi19 Posted November 18, 2016 Author Share Posted November 18, 2016 Great Lucian , It works thanks a lot !!!. 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