minimize and maximize forms

M

Mauro

hello, I am a newbie and I really know nothing about access.
I use access 2003 and I need to know how to minimize and then maximize a
form when another form is open.
Thanks for all the help you can give me
 
M

Mark via AccessMonster.com

Instead of minimize/maximize, I like to hide/unhide. Hide the current form
and pass its name as the OpenArgs of the form you're opening, then when
that form closes, unhide the first form.

In the click event of the button you use to open the other form:
Me.Visible=False
DoCmd.OpenForm "YourFormName",,,,,,Me.Name

In the close event of the other form:
Forms(Me.OpenArgs).Visible=True
 

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