Mesage On No Data

A

AN

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.
 
P

PC Datasheet

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

Top