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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Display a Message

Status
Not open for further replies.

granny1

Technical User
Jun 24, 2001
24
US
I have a report that allows users to select a parameter from a drop down list.
If there is no data for the specified time frame I need a meesage to appear that displays a message something like "No Data available for the selected Department this reporting period".
I do not want any of the sub-reports etc. to run. Just display the message.
Any help would be greatly appreciated.
 
Insert a Report Header section, and base it on a conditional suppression to the tune of something like:
Code:
Not IsNull{CompulsoryField} or
Count(CompulsoryField) = 0
(You might want to check the syntax...)

Place a text field in the section saying what you want.

When there are no records, this section should appear.

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top