open form in maximized state

D

David Kennedy

Hi,

I have an access database with about 10 forms
Every time I open a form I want it to open in a maximized full screen state.
When I select my Main Menu form as a start up form none of the forms
including the Main Menu form open maximized.

So in Form Load of every form I have written...

Me.WindowState = vbMaximized

but I keep getting the error "Method or data member not found"

Am I going about this the right way?

Thanks in advance
DK
 
J

Jeanette Cunningham

David,
use this:

DoCmd.Maximize

the above goes in the Open event for the form

Jeanette Cunningham
 
D

David Kennedy

Hi Jeanette,

Thank you, thats great

David

Jeanette Cunningham said:
David,
use this:

DoCmd.Maximize

the above goes in the Open event for the form

Jeanette Cunningham
 

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