Microsoft KB Archive/174349

= ACC97: Command Bar with Same Name in Different Database Docks in Same Location =

Article ID: 174349

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q174349



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



SYMPTOMS
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.



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 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.

