Search notes:

Access: DoCmd.RunCommand

doCmd.runCommand runs one of the commands that is listed in the acCommand enumeration.
The following example toggles the header and footer of a form:
doCmd.runCmd acCmdFormHdrFtr

See also

Compare with Application.RunCommand()

Index