Using Enumerated Constants in Microsoft Access 2000

Using Enumerated Constants in Microsoft Access 2000

See Also

In Microsoft Access 2000, a number of intrinsic constants have been added or changed. This was done to create lists of "enumerated" constants that are displayed in the Auto List Members list in the Module window for the arguments of various Microsoft Access methods, functions, and properties, or as the setting of various Microsoft Access properties. You can select the appropriate constant from the list in the Module window, instead of having to remember the constant or look it up in the Help topic.

The following information applies to enumerated constants:

The following table lists all the intrinsic constants that have been added or changed in order to create enumerated constant lists in Microsoft Access 2000.

Language element Argument Old constant New constant
Close method objecttype (none)
acDataAccessPage
acDiagram
acServerView
acStoredProcedure
CopyObject method sourceobjecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
DeleteObject method objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
OpenDataAccessPage method view (none) acDataAccessPageBrowse
acDataAccessPageDesign
OutputTo method objecttype (none) acOutputDataAccessPage
acOutputServerView
acOutputStoredProcedure
Rename method objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
RepaintObject method objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
RunCommand method command (none) acCmdDataAccessPageBrowse
acCmdDataAccessPageDesignView
acCmdDiagramAddRelatedTables
acCmdDiagramAutosizeSelectedTables
acCmdDiagramDeleteRelationship
acCmdDiagramLayoutDiagram
acCmdDiagramLayoutSelection
acCmdDiagramModifyUserDefinedView
acCmdDiagramNewLabel
acCmdDiagramNewTable
acCmdDiagramRecalculatePageBreaks
acCmdDiagramRelationshipLabels
acCmdDiagramViewPageBreaks
acCmdEditTriggers
acCmdHidePane
acCmdMicrosoftScriptEditor
acCmdNewObjectAutoDataAccessPage
acCmdNewObjectDataAccessPage
acCmdNewObjectDiagram
acCmdNewObjectStoredProcedure
acCmdNewObjectView
acCmdQueryAddToOutput
acCmdSelectDataAccessPage
acCmdShowPaneDiagram
acCmdShowPaneGrid
acCmdShowPaneView
acCmdViewDataAccessPages
acCmdViewDiagrams
acCmdViewFieldList
acCmdViewStoredProcedures
acCmdViewTableColumnNames
acCmdViewTableColumnProperties
acCmdViewTableKeys
acCmdViewTableNameOnly
acCmdViewTableUserView
acCmdViewViewVerifySQL
acCmdViewViewViews
acCmdZoomSelection
Save method objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
SelectObject method objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure
SendObject method objecttype (none) acSendDataAccessPage
TransferDatabase
method
method
objecttype (none) acDataAccessPage
acDiagram
acServerView
acStoredProcedure