C
Chaplain Doug
I open a report one of two ways, either to print:
DoCmd.OpenReport stDocName, acNormal
Or to preview,
DoCmd.OpenReport stDocName, acPreview
When the report is opened to print I want to prompt the
user (which I do in the OnOpen event). When the report is
opened in preview, I do not want to prompt the user. How
may I programmatically determine the mode in which the
report has been opened from within the report (OnOpen
event)? Thanks.
DoCmd.OpenReport stDocName, acNormal
Or to preview,
DoCmd.OpenReport stDocName, acPreview
When the report is opened to print I want to prompt the
user (which I do in the OnOpen event). When the report is
opened in preview, I do not want to prompt the user. How
may I programmatically determine the mode in which the
report has been opened from within the report (OnOpen
event)? Thanks.