Keeping a form at Maximize

S

stickandrock

I have a form that OnOpen i set a DoCmd.Maximize command.

on that form I have a button that opens another form.... OnOpen on the
second form I also use the DoCmd.Maximize command.

When I close the second form my main form resizes. I want to force both
forms to open as Maximize and not auto resize...

what is the best way for me to force the forms to remain at Maximize

any and all input is greatly appreciated.....
 
M

Maurice

place a - docmd.restore - in the closing part of the second form this will
restore the first form to the maximized state.

hth
 
Top