ACC1x: Microsoft Access Closes Abnormally from a MacroLast reviewed: May 14, 1997Article ID: Q109366 |
The information in this article applies to:
SYMPTOMSWhen Microsoft Access is unexpectedly closed by a macro, system resources are not released, and Microsoft Access remains in the Microsoft Windows Task List even though the application is no longer available.
CAUSEThe abnormal closing of Microsoft Access is due to event timing in the macro. The macro opens the Categories table, calls the Replace In Field dialog box, and then closes the Categories table. However, the Replace In Field dialog box, by design, functions differently than other dialog boxes do by allowing macros to continue running while the dialog box is displayed. Because the macro continues running the Categories table is closed before the replace action is completed. There is no macro action to pause the macro's execution; macro events occur sequentially unless a modal dialog box requests input from the user. The fact that the table is closed before the replace action is completed causes Microsoft Access to close abnormally. When Microsoft Access closes abnormally in this way, it does not relinquish memory or system resources as it should.
STATUSThis problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce BehaviorWARNING: Make sure to save any open work on your computer before following these steps. Following these steps will cause Microsoft Access to quit; any open work will not be saved.
|
Additional query words: abnormal termination close
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |