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

Form does not retain it's size

Status
Not open for further replies.

akar33

Programmer
Dec 13, 2004
39
US
I have one main form from where user makes the initial selection, upon selection (clicking a button to open another form), when the user closes the second form the initial form looses it's size, I want to stay maximized, How can I acheive, I tried onLoad (Maximize macro) then I tried Onload Docmd.Maximize

None of then seem to work the moment the second form is closed the initial one goes back to smaller size.

Let me know how to get around it.
 
When you open the second form you could try opening it with the acDialog set , then when the code returns do the maximize then

DoCmd.OpenForm "Form2", , , , , acDialog

DoCmd.Maximize



Hope this helps!

Regards

BuilderSpec
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top