Microsoft KB Archive/105518: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 23: | Line 23: | ||
== SYMPTOMS == | == SYMPTOMS == | ||
When you run a macro that has a DoMenuItem that contains the Macro Run commands, a general protection (GP) fault or | When you run a macro that has a DoMenuItem that contains the Macro Run commands, a general protection (GP) fault or "Out Of Stack Space" error will occur. | ||
<br /> | <br /> | ||
Line 65: | Line 65: | ||
<li>Run the macro.</li></ol> | <li>Run the macro.</li></ol> | ||
A GP fault will occur. If the macro is still open in Design view when you run it, an | A GP fault will occur. If the macro is still open in Design view when you run it, an "Out Of Stack Space" error will occur. | ||
Additional query words: GPF ADK | Additional query words: GPF ADK |
Latest revision as of 09:49, 20 July 2020
ACC1x: DoMenuItem Run Macro Causes GP Fault |
Q105518
The information in this article applies to:
- Microsoft Access versions 1.0, 1.1
- Microsoft Access Distribution Kit, version 1.1
SYMPTOMS
When you run a macro that has a DoMenuItem that contains the Macro Run commands, a general protection (GP) fault or "Out Of Stack Space" error will occur.
RESOLUTION
Use the RunMacro action instead of the DoMenuItem action to run a macro.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce Problem
Create the following macro:
Macro Name Action ------------------------ RunMe DoMenuItem RunMe Actions ------------- DoMenuItem Menu Bar: Macro Menu Name: Macro Command: Run
- Save and then close the macro.
- Run the macro.
A GP fault will occur. If the macro is still open in Design view when you run it, an "Out Of Stack Space" error will occur.
Additional query words: GPF ADK
Keywords : kbusage
Issue type : kbbug
Technology :
Last Reviewed: November 4, 2000 |