Controlling form size

A

Alan Z. Scharf

1. I have a main form whcih is maximized.

When I open a dialog box from a button on that form, the dialoog is
maximized also.

Is there a way to prevent that?

2. As an alternative, what is the equivalent command to 'Docmd.Maximize'
which would return a window to non-maximized state.

Thanks.

Alan
 
F

fredg

1. I have a main form whcih is maximized.

When I open a dialog box from a button on that form, the dialoog is
maximized also.

Is there a way to prevent that?

Are you opening in Dialog?
DoCmd.OpenForm "FormName", , , , , acDialog?
 

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