ACC97: Objects Dragged to New Toolbar Fail Silently

Last reviewed: July 10, 1997
Article ID: Q171176
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

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

When you drag an object to a new toolbar in an effort to create a command button that will open or run the object, the command button is not created.

CAUSE

The command button will not be created if there are no other buttons on the toolbar. The procedure fails silently.

RESOLUTION

To add a command button to a new toolbar, follow these steps:

  1. On the View menu, point to Toolbars, and then click Customize.

  2. In the Customize dialog box, click the Commands tab.

  3. In the Categories list box, click the object type for your object. In the Commands list box, scroll down until you see your object, and then click the object to select it.

  4. Drag the object from the Commands list box to the new toolbar.

  5. Close the Customize dialog box.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.

  2. On the View menu, point to Toolbars, and then click Customize.

  3. On the Toolbars tab, click New, accept the default Toolbar name, and then click OK.

  4. Close the Customize dialog box.

  5. Drag the Categories table from the Database Window to the new toolbar. Note that the new button is not placed on the toolbar.

REFERENCES

For more information about creating toolbars, search the Help Index for

"toolbars, creating," or ask the Microsoft Access 97 Office Assistant.


Keywords : kbui UifCmdbar
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Resolution Type : kbworkaround


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.

Last reviewed: July 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.