G
Guest
To print the same report several times with different criteria each time, I
set up a form with 16 textboxes and then set a macro to run the report with
two text boxes something like color = forms!formname!field. Two text boxes
for each time it is run. So 16 text boxes make 8 reports. This works fine. 4
to 12 of the have to be printed at a time. If there are less than 8 times it
needs to be done is there a way to stop the macro. Right now it will go
through the process of trying to print it, and making it to the no data
section and give the message box that was created for that. Is there a way to
skip empty boxes or stop completely on an empty box.
set up a form with 16 textboxes and then set a macro to run the report with
two text boxes something like color = forms!formname!field. Two text boxes
for each time it is run. So 16 text boxes make 8 reports. This works fine. 4
to 12 of the have to be printed at a time. If there are less than 8 times it
needs to be done is there a way to stop the macro. Right now it will go
through the process of trying to print it, and making it to the no data
section and give the message box that was created for that. Is there a way to
skip empty boxes or stop completely on an empty box.