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

how to open a form in maximised view

Status
Not open for further replies.

yuribotero

Technical User
Aug 11, 2003
6
0
0
CO
Hello There...

I need to open a Form in Maximised view each time somebody open It, I don´t know how to do It, Can Somebody help Me????

Thanks A lot

yuri
 
Hi, put this code in the Load property of the form....

DoCmd.Maximise

Thats the quickest and easiest way :)

Hope this is of help,

David
 
Thanks David, but you know what?, I´m really new in Microsoft Access, so when I Tried,I got an error saying that Couldn´t find´the member or the method

What did I wrong

YUri
 
Hi,

Did you put this code in a module? Or simpy in a text box somewhere?

What to do is, go to the Form Properties, and go to the Event Tab. Now, click on the "On Load Box" and then click on the "..." button at the end of it. This will open the forms module, and start an empty procedure for you. It'll look something like this...

Private Sub Form_Load()

End Sub

Now, what you want to do is put some code in there like this...

Private Sub Form_Load()
'Maximise the form
DoCmd.Maximise
End Sub

Now, close the modules, and the form, saving your changes. Hopefully, all being well, when the form is loaded, it will be maximised.

Don't worry about being new to Access, I'm no expert, but I like the way its so easy to craft a User Interface to your own needs, I find it great fun! But once you've solved one problem, theres always another!

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top