mortgsteps
Technical User
I have a for next loop with a count_variable set to 5 like this:
for x = 1 to count_variable
docmd.openreport reportname(x),acpreview,,key = key_number
next x
The code runs fine except each report previews on the one before it so i end up with 5 reports in preview one on top of another.
I want it to preview on report - allow the user to print or close and then preview the next report
any ideas?
thanks [sig][/sig]
for x = 1 to count_variable
docmd.openreport reportname(x),acpreview,,key = key_number
next x
The code runs fine except each report previews on the one before it so i end up with 5 reports in preview one on top of another.
I want it to preview on report - allow the user to print or close and then preview the next report
any ideas?
thanks [sig][/sig]