ACC2000: Misleading Message When Form's Shortcut Menu MissingID: Q198966
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you open a form or right-click on the form to see the shortcut menu, you may receive the following message:
Microsoft Access can't find the macro '<name of shortcut menu>'
Either the MenuBar or the ShortcutMenu property of the form refers to a menu bar that does not exist in your database.
When you set the MenuBar or the ShortcutMenu property for a form, make sure that the property refers to a valid menu bar.
The error message is confusing because it refers to a macro instead of to the incorrectly set form property. In earlier versions of Microsoft Access, menus were created from special types of macros. This is the cause of the misleading error message.
While current versions of Access still support the use of macros to create menus, you should consider using CommandBars when creating custom menus. You can also convert existing macro-derived menus to command bars as follows:
"Microsoft Access can't find the macro 'MyShortCutMenu.'
For more information about menus and shortcut menus, click Microsoft Access Help on the
Help menu, type "Work with menu bars and shortcut menus" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
Additional query words:
Keywords : kberrmsg kbdta FmsProp
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 13, 1999