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.
Any suggestions for the following code would be appreciated. Sorry it's so long.