henryedsl Posted February 3, 2011 Share Posted February 3, 2011 Hi!A certain field in my report must be displayed only when the total number of pages is greater than 1, displayed in every page of the report. If the reporthas only 1 page, then there is no need to display this field.I know that PAGE_NUMBER with evaluationTime="Report" will display the number of pages in the report, but the problem is that i need this in the printWhenExpression of the field.Is there a way to do something like:new Boolean($V{TOTAL_PAGE_NUMBER}.intValue() > 1)So this field is displayed in every page only when the total number of pages is greater than 1?I didn't fint anything in the forums.Thanks in advance.Best regards,Henry Link to comment Share on other sites More sharing options...
henryedsl Posted February 4, 2011 Author Share Posted February 4, 2011 Hi!Here i found the solution that worked for me:jasperforge.org/plugins/espforum/view.phpHere you can find another post which although didn't work for me maybe could be usefull for someone else:jasperforge.org/plugins/espforum/view.php God bless you all.Best regards,Henry 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