vk01 Posted January 31, 2008 Share Posted January 31, 2008 Hi, I have this static text on the summary band "there is no data to report" and this condition on that band -- new Boolean($V{PAGE_COUNT}.intValue()==0)-- When i run the report, the data shows up which has about 3 pages and also this message shows up at the end of the report. Any ideas? would any special characters play a role in this? Thank you. Link to comment Share on other sites More sharing options...
svenn Posted January 31, 2008 Share Posted January 31, 2008 Try this instead as your condition new Boolean($V{REPORT_COUNT}.intValue()==0) It counts the number of row returned to the report. So if you report returns no data your message will be triggered. PAGE COUNT - Contains the number of records that were processed when generating the current page. Each time you start a new page the value will be set back to zero. 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