ACC: Not Enough Stack Memory When Opening FormLast reviewed: May 7, 1997Article ID: Q96988 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you open a form, it flashes repeatedly, and the following error message is displayed:
In Microsoft Access 97: There isn't enough stack memory left to perform the operation. In Microsoft Access 7.0: There isn't enough stack memory left. In Microsoft Access 1.x and 2.0: Not enough stack memory CAUSEOne possible cause is that a macro with a Requery action is assigned to the OnEnter event procedure of the first control in the form's Tab Order. Or the macro is assigned to the OnCurrent property of the form. This creates an infinite loop, causing the form to requery until stack memory is depleted.
RESOLUTIONIf the macro must be assigned to the first control, assign it to the BeforeUpdate event of the control.
STATUSThis behavior is by design.
MORE INFORMATIONThe example below uses the sample database Northwind.mdb (or NWIND.MDB in versions 1.x and 2.0).
Steps to Reproduce Behavior
|
Additional query words: continuously
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |