ACC97: Bar w/ Same Name in Different DB Docks in Same Location

ID: Q174349

The information in this article applies to:

SYMPTOMS

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

When you create custom command bars in different databases and you give them the same name, they use the same docking location.

CAUSE

Custom command bars are stored in the database, but certain properties of a custom command bar, such as docking position, are stored on a per user basis in the registry.

RESOLUTION

To give your command bars their own specific docking location you must give them different names.

MORE INFORMATION

Steps to Reproduce Behavior

 1. On the File Menu, click New Database.

 2. Click Blank Database and click OK.

 3. Note the database name and click Create.

 4. On the View menu, click Toolbars, and then click Customize.

 5. Click New.

 6. Type "MyBar" (without the quotation marks) for a new command bar name
    and click OK.

 7. Close the Customize window.

 8. Drag the command bar to the right and dock it.

 9. On the File menu, click Close.

10. Repeat steps 1 through 7 to create a second database.

11. Drag the new command bar to the left and dock it.

12. On the File menu, click Close.

13. Reopen the first database. Note that the command bar, Mybar, that you

    created and docked on the right in the first database is now docked on
    the left.

REFERENCES

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

Additional query words: menubar tool bar

Keywords          : UifCmdbar 
Version           : WINDOWS:97
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbhowto kbprb

Last Reviewed: January 8, 1999