The information in this article applies to:
SUMMARYNovice: Requires knowledge of the user interface on single-user computers.
MORE INFORMATIONIn Microsoft Access version 7.0The version argument takes either of three constants: acMenuVer1X, acMenuVer20, or acMenuVer70. The default for this argument is acMenuVer1X.If you write code in Microsoft Access 7.0, and you want to use version 7.0 menu commands, set this argument to acMenuVer70. The syntax for the DoMenuItem method is:
The following example using the above syntax chooses Paste from the Edit
menu in form Design view in Microsoft Access 7.0:
In Microsoft Access version 2.0The version argument takes either of two constants: A_MENU_VER1X or A_MENU_VER20. The default for this argument is A_MENU_VER1X.If you write code in Microsoft Access version 2.0 and you want to use version 2.0 menu commands, set this argument to A_MENU_VER20. The syntax for the DoMenuItem action is:
The following example using the above syntax chooses Paste from the Edit
menu in form Design view in Microsoft Access 2.0:
REFERENCES
For more information about the DoMenuItem action, search for DoMenuItem,
and then "DoMenuItem method" using the Microsoft Access for Windows 95 Help
Index.
Additional query words:
Keywords : kbprg |
Last Reviewed: October 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |