ACC97: Misleading Message When Form's Shortcut Menu Is Missing

ID: Q163839


The information in this article applies to:
  • Microsoft Access 97


SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you try to use a shortcut menu on a form in Microsoft Access 97, if the shortcut menu is missing or does not exist, Microsoft Access displays the following message:

Microsoft Access can't find the macro '<name of shortcut menu>'

This message is misleading because it refers to a missing macro instead of to a missing shortcut menu.


MORE INFORMATION

The message refers to earlier versions of Microsoft Access when custom menu bars were created from macros. Note that for backward compatibility, you can still use macros as menu bars in Microsoft Access 97; however, you might consider converting your macros to command bars. To convert a macro to a command bar, select the macro in the Database window. Then on the Tools menu, point to Macro, and click one of the Create commands for a menu, toolbar, or shortcut menu.

Steps to Reproduce Behavior


  1. Start Microsoft Access 97 and open the sample database Northwind.mdb.


  2. Click the Forms tab in the Database window.


  3. Create a new form not based on any table or query in Design View.


  4. Set the MenuBar property of the form to MyShortCutMenu.


  5. Open the form in Form view. Note that instead of informing you of a missing command bar, Microsoft Access displays the message "Microsoft Access can't find the macro 'MyShortCutMenu.'



REFERENCES

For more information about command bars, search the Help Index for "command bars," or ask the Microsoft Access 97 Office Assistant.

Keywords : kberrmsg FmsProp
Version : 97
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: April 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.