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
 
Top