Maximizing Forms

N

Nick

I have two questions if someone can help me with.
First; I would like to add to the expression below, so
that the primary from, Orders, Maximizes when it becomes
active:

Private Sub Form_Activate()
Me![Orders-sub1].Requery
End Sub

Second; Is there any way that I can have a form stay
maximized while another form is opened and then closed.
That is if I am working with a form that is maximized and
I press a button to open another form that is not full
screen without the previous form restoring when the second
form is opened and then maximizing when you close the
second form.

Thanks for your assistance.

Nick
 
A

Arvin Meyer

Nick said:
I have two questions if someone can help me with.
First; I would like to add to the expression below, so
that the primary from, Orders, Maximizes when it becomes
active:

Private Sub Form_Activate()
Me![Orders-sub1].Requery
DoCmd.Maximize
End Sub
Second; Is there any way that I can have a form stay
maximized while another form is opened and then closed.
That is if I am working with a form that is maximized and
I press a button to open another form that is not full
screen without the previous form restoring when the second
form is opened and then maximizing when you close the
second form.

Thanks for your assistance.

In the form that you wish to maintain it's size, remove the
Maximize/Minimize buttons using the property sheet. Then change the poup
property to Yes. The form can be opened normally, after the first form is
opened maximized.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

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

Similar Threads

How to keep a form from maximizing 1
Form Changes Size 1
Forms Not Staying Maximized 1
Forms DoCmd.Maximize | DoCmd.Restore 6
Form Size 2
Resizing forms 2
Form size 3
Form not Maximizing 3

Top