INF: Cascading Menus Available Without Available Commands

    Article ID: Q121836
    Creation Date: 19-OCT-1994
    Revision Date: 19-SEP-1996

    The information in this article applies to:

    • Microsoft Access versions 2.0, 7.0

    SUMMARY

    Moderate: Requires basic macro, coding, and interoperability skills.

    Cascading menus are available in Microsoft Access for Windows 95 version 7.0 and Microsoft Access version 2.0 even when there are no available commands on the cascading menus.

    MORE INFORMATION

    In Microsoft Access 7.0, for example, the OfficeLinks cascading menu is available even when a database object is chosen that cannot be analyzed. If you select Macros in the Database window, you can still choose the OfficeLinks cascading menu (from the Tools menu); however, all the commands on the cascading menu will be unavailable.

    In Microsoft Access 2.0, for example, the Add-ins cascading menu is available even when you do not have a database open. However, if you choose the Add-ins cascading menu when you do not have a database open, all the commands on the cascading menu will be unavailable.

    This is a change in behavior from Microsoft Access version 1.x to version 2.0 and was maintained in version 7.0. In version 1.x, if no command is available on a cascading menu, the cascading menu itself is unavailable.

    This behavior changed because you can create custom submenus in Microsoft Access versions 2.0 and 7.0, and Microsoft Access no longer keeps a hard- coded list of menus that it can make unavailable.

    REFERENCES

    For more information about creating a submenu, search for "submenus," and then "submenus on custom menu" using the Microsoft Access for Windows 95 Help Index.

    For more information about creating a submenu, search for "submenus" then "Menu Builder Command (File Menu - Add-ins Submenu)" using the Microsoft Access version 2.0 Help menu.


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.

Additional reference words: 2.00 7.00
KBCategory: kbusage
KBSubcategory: GnrlUi