Microsoft KB Archive/96108

{|
 * width="100%"|

INF: Items in a Module Run Menu Are Unavailable (Dimmed)
'Article ID: Q96108

Creation Date: 08-MAR-1993

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access versions 1.0, 1.1, 2.0, 7.0

SUMMARY

Moderate: Requires basic macro, coding, and interoperability skills.

When you have a Module window open and in focus, you may notice that many commands in the Run menu are unavailable (dimmed).

MORE INFORMATION

The commands that are unavailable are:

Continue            (all versions) End                 (version 7.0 only) Single Step         (version 1.x only) Procedure Step      (version 1.x only) Step Into           (version 2.0 and 7.0) Step Over           (version 2.0 and 7.0) Step to Cursor      (version 7.0 only) Set Next Statement  (all versions) Show Next Statement (all versions) These commands are unavailable because they are only valid when you are in break mode. Once you run the code, break mode occurs when any of the following takes place:
 * A breakpoint that you set is encountered.
 * A Stop command is encountered.
 * You press CTRL+BREAK while the code is running.
 * An error occurs in the code.

REFERENCES

For more information about breakpoints, search for &quot;breakpoints,&quot; and then &quot;Use a breakpoint to suspend execution of Visual Basic for applications code&quot; using the Microsoft Access for Windows 95 Help Index.

Microsoft Access &quot;Building Applications,&quot; versions 2.0, Chapter 9, &quot;Debugging,&quot; pages 203-220

Microsoft Access &quot;Introduction to Programming,&quot; versions 1.0 and 1.1, Chapter 4, &quot;Debugging Your Access Basic Code,&quot; pages 29-42
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 1.00 1.10 2.00 7.00 grey gray

KBCategory: kbprg

KBSubcategory: PgmOthr