No results in a report

G

Guest

I have a report which runs via a couple of drop down menu's, these filter the
results, some combinations of the drop downs result in no results, can I get
a message to appear saying no results,rather than producing a blank report
 
A

Allen Browne

Sure.

Add a macro (or code) to the No Data event of the report (the Event tab of
the Properties box, when examining properties of the report in design view.

The macro just needs CancelEvent and MsgBox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top