jys Posted December 9, 2006 Share Posted December 9, 2006 Need to print our own text messages like "No records"- when no data existing after executing query Presently we using, WhenNoDate -(Blank page/No pages/AllSectionsNoDetail) Link to comment Share on other sites More sharing options...
Prodhuturi Posted December 14, 2006 Share Posted December 14, 2006 I am trying the same. Haven't found a way to do it yet. Would appreciate if someone has an answer. Link to comment Share on other sites More sharing options...
Prodhuturi Posted December 14, 2006 Share Posted December 14, 2006 I am trying the same. Haven't found a way to do it yet. Would appreciate if someone has an answer. Link to comment Share on other sites More sharing options...
dan_thorman Posted January 12, 2007 Share Posted January 12, 2007 as a part of the query, you could use a decode statement (if it's an sql query)... for example, if you are pulling prices, and certain items have no price, you could make your select something like: decode(price, NULL, "No Record", price) according to the syntax:decode (expression, search_1, result_1, default) Link to comment Share on other sites More sharing options...
Case1182 Posted June 29, 2007 Share Posted June 29, 2007 Put a text field in the page-footer band that says NO DATA FOUND, the text fields print when = new java.lang.Boolean($V{REPORT_COUNT}.intValue() == 0 ) make sure on the report properties "When no DATA" = All sections, no detail. and try it, works great 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