RunCommand constants are designed to allow the built-in menu functionality to be used in code. I have tried to map the constants to their menu equivalent. However this is by no means an exact or complete list, especially as functions move between menu items in different versions of Access. Also the menus change as you work in different parts of Access. Select the menu that you require below.
Insert Query Records Relationships Run Tools View Window
Debug Menu
This menu is avaiable in the code module of early versions of Access or in VBA window in the later versions.
- Menu Item
- RunCommand Equivalent
- Add Watch
- acCmdAddWatch
- Clear All Breakpoints
- acCmdClearAllBreakpoints
- Compile All Modules
- acCmdCompileAllModules
- Compile and Save All Modules
- acCmdCompileAndSaveAllModules
- Compile Loaded Modules
- acCmdCompileLoadedModules
- Edit Watch
- acCmdEditWatch
- Quick Watch
- acCmdQuickWatch
- Run To Cursor
- acCmdStepToCursor
- Set Next Statement
- acCmdSetNextStatement
- Show Next Statement
- acCmdShowNextStatement
- Step Into
- acCmdStepInto
- Step Out
- acCmdStepOut
- Step Over
- acCmdStepOver
- Toggle Breakpoint
- acCmdToggleBreakpoint