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

  • Thread starter Thread starter Petey Forrest
  • Start date Start date
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
 
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
 
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
 
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]
 
Back
Top