Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a message

Status
Not open for further replies.

jschill2628

Programmer
Nov 3, 2009
156
US
If I have a crystal report that I have published on business object, and I have prompts for my used to choose a date range, a Hospital and a type of event that has happened to bring back information for a report. Is there a way to put up a message for the user that would say some thing like “there are no incidents that currently meet this criteria”, like a pop up or a message. Currently when the report is run, and there is no data for them they just get a blank screen, and then they proceed to flip out, because they don’t think they are running the report right, or that the report is not working correctly. So does anyone out there know of a way to put up a message for them? I hope this was clear enough. Thank you!
 
In file->report options, make sure that "suppress printing if no records" is NOT checked. Then create a formula for the Report Header:

if isnull({table.field}) then
"No Records Meet the Selected Criteria"

...where {table.field} is a recurring (non-null) field.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top