ACC: Canceling a DoCmd Print Returns Error MessagesLast reviewed: August 29, 1997Article ID: Q106181 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. 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.
STATUSThis behavior is by design. It allows you to trap and test for execution failure and cancellation as individual results.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor 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. Keywords : kbprg PgmOthr Version : 1.0 1.1 2.0 7.0 Platform : WINDOWS Hardware : x86 Issue type : kbprb Solution Type : Info_Provided |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |