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

Is it possible to open a form maximised when the database is opened? 1

Status
Not open for further replies.

meeble

Programmer
Sep 24, 2002
137
0
0
GB
Is it possible to open a form maximised when the database is opened? Mine opens half size.

Cheers

James
 
yes James,

very possible

use Docmd.Maximize in the Form_Load() event

regards Guido
 
Thanks for your help. I can't find the Form_Load() event. Where is it please?
 
You have to go into your code section for your form. Select the form name, go to your toolbar and look for the multicolored square; the tooltip will say "Code". Click on this. You are now in the form's code window. There are two drop down boxes near the top. One says "General". Drop this box down and select "Form"> The second box says "Declarations". Drop this down and select "Load". You should now see:

Private Sub Form_Load()
'Place your code here
End Sub

Place your code (in this case Docmd.Maximize) here.

The Missinglinq

"It's got to be the going,
not the getting there that's good!"
-Harry Chapin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top