2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Adam Silverthorne - doog2112 No query results == No report 2003-06-17 18:23 I'm generating a report, sticking the HTML in a string buffer and then outputting to a JSP page. If there are no results returned from my query, I get no HTML. If it finds a single record, then the report renders. Is there a way to make jasper render even if it gets no results? By: Teodor Danciu - teodord RE: No query results == No report 2003-06-18 01:26 Hi, Use whenNoDataType="AllSectionsNoDetail" in your report template. I hope this helps. Teodor By: Adam Silverthorne - doog2112 RE: No query results == No report 2003-06-18 09:58 Thanks Teodor, Is there a way to conditionally show some text if the query returns no data? For example No Items Found 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