ACC97: Command Bar with Same Name in Different Database Docks in Same Location (174349)



The information in this article applies to:

  • Microsoft Access 97

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.

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

Modification Type:MajorLast Reviewed:10/20/2003
Keywords:kbhowto kbprb KB174349