Here is a complete list of RunCommand constants with a description of their function where I know what they do.
The list in Access Help and the one obtainable on the Microsoft Web Site are incomplete and contradict one another.
I have colour coded the list dependent on the version in which they first appeared -
Access 97, Access 2000, Access XP,
Access 2003, Access 2007 or Access 2010. Prior to Access 2007, all later
versions of Access recognise the earlier commands. See Known Problems for more details.
Some of these were retained for backwards compatibility only. If you spot any errors or can fill the gaps please
let me know.
links to code examples for that constant. Select the start letter,
ignoring the acCmd, of the constant.
Select the sixth letter of the acCmdConstant
Constants starting acCmdQ
Adds a field to the output of a View
Adds and hides the Group By column in the design of a View
Displays the Parameters dialog
Toggles the Totals Line in a QBE grid
Changes a Query to an Append Query
Changes a Query to a Crosstab
Changes a Query to a Delete Query
Changes a Query to a Make Table Query
Changes a Query to a Select Query
Changes the Query to a Data Definition Query
Changes the Query to a Pass Through Query
Changes the Query to a Union Query
Changes a Query to an Update Query
Displays syntax help
Prints without displaying the print dialog box
Displays the Quick Watch dialog