maximize follow up

J

john

i saw this on the message board....
Hi,

Put this code in the Form's Open event:

DoCmd.Maximize

That should do it.
Jeff Conrad
Bend, Oregon


where do i find the open "event:" to put "DoCmd.Maximize"
 
J

Jeff Conrad

Hi,

1. Open the form in Design View
2. Go up to the Menu Bar and select View--Properties
This should take you to the properties of the form itself.
This is just one of many ways to get there.
3. On the Event or All tab of the properties list you should see a line that
says, "On Open."
4. Click on that line and you should see a small button appear with three
dots (...) Click on that button and you will be taking to the code area.
5. The code will first look like this:

Private Sub Form_Open(Cancel As Integer)

End Sub

6. Now just add the maximize code in the middle like so:

Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

7. Save and close the form.
8. Now every time the form opens it should be maximized.

Hope that helps,
Jeff Conrad
Bend, Oregon
 
J

JOHN

thanks again. I tried that before and couldnt figure out
why it didnt work i guess i must have had a typo. but
thanks again !
JOHN
 

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