Printing 10 reports daily, sometimes one is blank and throws an error. Avoidable?

faesce

Registered User.
Local time
Today, 14:27
Joined
Feb 16, 2012
Messages
22
Hello. I've got a macro that opens 10 reports each day and prints them. This works great when all 10 reports contain records. Sometimes though there aren't records in a couple of the reports. Is there a way to filter this so it just skips them instead of giving me a popup error?

Thanks!
 
Have a look at the On NoData event.
 
Cancel=True worked perfectly! Thanks!
 

Users who are viewing this thread

Back
Top Bottom