Jump to content
We've recently updated our Privacy Statement, available here ×

Need to print our text messages - when no data


jys

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

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

  • 5 months later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...