Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Database Window option NOT working properly 1

Status
Not open for further replies.

swbrodie

Technical User
Joined
Mar 24, 2003
Messages
4
Location
US
Hello.

In my application, I have unchecked the Display Database Window option in the Startup menu. But, for some reason, the database window keeps coming up. I have written a macro that hides it, but shouldn't it stay hidden on its own? Is there something in my application that could be causing this?


Stephen
 
swbrodie the only thing that would make your database window open is code.

try using this code in your first form:

DoCmd.ShowToolbar "Filter/Sort", acToolbarNo
DoCmd.ShowToolbar "Form Design", acToolbarNo
DoCmd.ShowToolbar "Form View", acToolbarNo
DoCmd.ShowToolbar "Formatting (Datasheet)", acToolbarNo
DoCmd.ShowToolbar "Formatting (Form/Report)", acToolbarNo
DoCmd.ShowToolbar "Macro Design", acToolbarNo
DoCmd.ShowToolbar "Menu Bar", acToolbarNo
DoCmd.ShowToolbar "Print Preview", acToolbarNo
DoCmd.ShowToolbar "Query Datasheet", acToolbarNo
DoCmd.ShowToolbar "Query Design", acToolbarNo
DoCmd.ShowToolbar "Relationship", acToolbarNo
DoCmd.ShowToolbar "Report Design", acToolbarNo
DoCmd.ShowToolbar "Source Code Control", acToolbarNo
DoCmd.ShowToolbar "Table Datasheet", acToolbarNo
DoCmd.ShowToolbar "Table Design", acToolbarNo
DoCmd.ShowToolbar "Toolbox", acToolbarNo
DoCmd.ShowToolbar "Utility 1", acToolbarNo
DoCmd.ShowToolbar "Utility 2", acToolbarNo
DoCmd.ShowToolbar "Web", acToolbarNo
RefreshTitleBar

On the menu select Tools and then Startup
make sure the following are ticked:

Allow Full menus
Allow default shortcut menus
Allow built in toolbars
Allow Toolbar/Menu changes

The following should be unticked

Display database window
Display status bar

ADVANCED -
Use Access special keys


If you follow the above info you should have no problems, remove any other code that you may have created.

A Negative + Negative = Posotive.

Cheers [afro]ZeroAnarchy
Experience is a wonderful thing. It enables you to recognize a mistake
when you make it again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top