any way to minimize the "Database Window" upon loading?

P

Petey Forrest

Hi gang,



From the example Northwind Traders...



....is there a way to minimize the "Database Window" upon loading? When you
load the sample database, the about box comes up but you see the database
window in the background. How can I have it minimized?



thanks,



petey forrest
 
E

Ed Robichaud

One of the easier methods is to create a macro and name it "autoexec". In
the macro, put the commands:

minimize (to minimize the database window)
open form (to load/open your startup form/menu)
maximize (to maximize your form)

The autoexec macro will execute each time the database is opened.

-Ed
 
P

Petey Forrest

Thanks Ed,

The macro idea is cool, but I'm still a few levels below that in the food
chain. Could you please let me know what is the actual Access VB line to
minimize the database window? And minimize a form such as the switchboard
afterwards?

IE...

DoCmd.MinimizeDatabaseWindow... etc... ??????

thanx!!!

petey
 
J

John Vinson

chain. Could you please let me know what is the actual Access VB line to
minimize the database window? And minimize a form such as the switchboard
afterwards?

IE...

DoCmd.MinimizeDatabaseWindow... etc... ??????

thanx!!!

Me.Minimize

will minimize a Form.

To *conceal* the database window, use the Tools... Options, select the
View tab, and uncheck the database window. The window simply won't
show up (and need not be minimized). It can be brought back into view
by pressing F11 (just don't tell your users that).

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top