Microsoft KB Archive/198459

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

Article ID: 198459

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q198459





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.



Steps to Reproduce Behavior

 * 1) On the File Menu, and click New.
 * 2) Click the General tab, click Database, and click OK.
 * 3) Note the database name, and then click Create.
 * 4) On the View menu, click Toolbars, and then click Customize.
 * 5) Click the Toolbars tab, and then 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.

