Maximize forms

  • Thread starter Thread starter Martin Dashper
  • Start date Start date
M

Martin Dashper

I have a form which is moximized OnOpen (DoCmd.Maximize). At some
point it opens a search results form which is also maximized. When I
close the second form and return to the first, it is no longer
maximized.
The same hapens when the second form opens a report. When the report
is closed the form is no longer maximized.
Any ideas

Martin Dashper
 
I have a form which is moximized OnOpen (DoCmd.Maximize). At some
point it opens a search results form which is also maximized. When I
close the second form and return to the first, it is no longer
maximized.
The same hapens when the second form opens a report. When the report
is closed the form is no longer maximized.
Any ideas

Martin Dashper

Check the close events of the report and other form.
If the event includes DoCmd.Restore, that is the culprit.
 
You could add the following to maxmize the form in the "On
Actvate" event

docmd.maximize

Jim
 
Check the close events of the report and other form.
If the event includes DoCmd.Restore, that is the culprit.

No, I return to the first form by closing (DoCmd.Close) the second.
The report is closed using the Close menu button

Martin
 
Back
Top