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.
Control Menus
Toolbars
Shortcut Menus
Debug
Edit
File
Format
Help
Insert Query Records Relationships Run Tools View Window
Insert Query Records Relationships Run Tools View Window
Relationships Menu
This menu is only available in the Relationships window.
- Menu Item
- RunCommand Equivalent
- Edit Relationships
- acCmdEditRelationship
- Hide Table
- AcCmdHideTable
- Show All
- acCmdShowAllRelationships
- Show Direct
- acCmdShowDirectRelationships
- Show Table
- acCmdShowTable