Mesage On No Data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have put a message under On No Data event on a report, it works fine, but
after my message, one another message shows
"The OpenReport action was canceled" how to avoid this message.
 
At the beginning of your code that opens the report, add the following line:
On Error Resume Next
 

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

Similar Threads

Suppressing Message Box 3
On Error Resume Next not working 5
Message Box 1
Cancel = True - error 2
no data message 1
Annoying errer message 1
Supress Message 2
Hoe to Close a NoData Report 1

Back
Top