2006 JR Open Discussion Posted August 22, 2006 Share Posted August 22, 2006 By: David Sachdev - dsachdev Detecting/Displaying Empty Jasper Report 2006-03-15 05:59Hello - I am using Hibernate as a datasource, and when the SQL query returns no rows I get back a blank Jasper Report (no headers, no nothing). Is there a way I can get Jasper to either 1) still print the headers or 2) Print out a message saying that the user's query returned no rows? In addition, my reports have an HTML link (via a variable I set) back to the Reports Selection page, but this link does not show when the report is blank. I would have expected Jasper to still print all of the other report elements, but just not have any rows of data. Thanks for your help David 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