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

No Records Found - Show an Error msg

Status
Not open for further replies.

chloe67

Technical User
Mar 1, 2005
7
CA
I have a frame on a form and if you select a radio dial it will run the corresponding query and export the data to an excel file when you click on a button.

My problem is that I also need it to check the data from the query first and if there aren't any records, show an error message and not run the export.

HELP! Thanks for any help in advance!
 
Take a look at the DCount function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top