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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I force a form to open maximized? 1

Status
Not open for further replies.

egptech

Technical User
Nov 18, 2002
16
US
I want the Switchboard to open maximized when the database is first opened.

There are also other forms I would like to force to open maximized.

Is there a way to do this built into Access or with code?

GEne
 
egptech,

In the Properties window of your form/switchboard etc, select the Events tab and select On Open. Click on the button to the left of the On open field, the one with the three little dots on it, and select Code Builder. In the ensuing screen, where the cursor defaults to, type in

DoCmd.Maximize

and that's it.

Kev.
 
When I open my database, there is a "flashing" of the Access screen. I don't want my users to see anything till the form opens maximized.

How do I do that? Judge Hopkins

"...like hunting skunks underwater...."
John Steinbeck, The Grapes of Wrath
 
Hi judge,

I'm not sure what you mean by "a flashing of the Access screen". Because the database is an Access application, you are always going to see the Access screen.
However, if you mean that they can see the database window, this can be turned off by going into the tools menu, selecting Start up, and unticking the "Display Database Window" check box. This will open the database straight to the selected form or switchboard on start up.

Hope this helps.

Kev.
 
Kev,

That's what I was looking for. I had done it once before but couldn't remember it. Must have had a brain fade.
Thanks,
Gene
 
Thanks, kev747. I have already done what you suggested.

Still, even on a very fast machine, I see the Access opening screen for an instant before the form opens.

Let me rephrase the question: How do I cut off all display from the time the user clicks the shortcut for my application until the main form opens maximized.

BTW, egptech, I know about those brain fades! Judge Hopkins

"...like hunting skunks underwater...."
John Steinbeck, The Grapes of Wrath
 
Sorry Judge,
I'm not able to help you with this one.
Gotta be truthful, I don't even know if it's possible. Maybe some of the other peeps in this forum can help.

Kev.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top