N
Noel
Hi, I have a command button which calls up a report. I
have set up the On No Data Event to display a popup
saying "There is no data to preview". All OK there. The
problem is when I close this window, I get another
annoying message saying "The OpenReport action was
cancelled. You used a method of the DoCmd to carry
out .......". How can I stop this second window from
appearing. It will confuse the users. Thanks, Noel
have set up the On No Data Event to display a popup
saying "There is no data to preview". All OK there. The
problem is when I close this window, I get another
annoying message saying "The OpenReport action was
cancelled. You used a method of the DoCmd to carry
out .......". How can I stop this second window from
appearing. It will confuse the users. Thanks, Noel