Report Error Handling

huebner

Registered User.
Local time
Today, 21:32
Joined
Jul 3, 2002
Messages
18
I have a command button on a form that when selected loops through 9 different reports to print all of the first pages, then all of the second pages, etc... . My question is, how can I add in error handling when one of the reports has no data. Is there an "IF" statement I can add to the following code before the "PrintOut" command, to check if there are any pages that need printing, otherwise continue down the path?

Any suggestions for the following code would be appreciated. Sorry it's so long.
 

Attachments

Didn't look at your code, it was too long.

Take a look at the report's "On No Data" event.
 

Users who are viewing this thread

Back
Top Bottom