ACC: Canceling a DoCmd Print Returns Error Messages (106181)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
This article was previously published under Q106181
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you click Cancel to cancel printing started by a macro that contains
a function with a DoCmd.PrintOut acPrintAll statement (or DoCmd Print
A_Printall statement in Microsoft Access versions 1.x and 2.0), you may
receive a series of alert messages.
STATUS
This behavior is by design. It allows you to trap and test for execution
failure and cancellation as individual results.
REFERENCES
For more information about debugging Microsoft Access applications, search
on "debugging macros," and then either "Find problems in a macro by single
stepping through it" or "Using the Debug window" using the Microsoft Access
7.0 Help Index.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbprb kbProgramming KB106181 |
---|
|