Wednesday, August 10, 2005

Automatically Maximize Access Form

To maximize an Access form automatically, use the "Maximize" method of the DoCmd Object.

Example, let's say I have a form called MainForm, on the "On Load" Event property of the form, I would use this sub procedure:

Sub MainForm_Load()

DoCmd.Maximize

End Sub

5 comments:

Anonymous said...

you are my GOD.
you have no idea. this one little command saved my arse.
whoo!
*showers you with virtual thanks*

Anonymous said...

what he said, helped so much, couldnt find it anywhere else.

Anonymous said...

GOLD!!

Anonymous said...

Simple, straignt to the point, works great !

Anonymous said...

Thank you! Now i know where to go!