Keeping a Form Maximized

  • Thread starter Thread starter Clyde Ellingwood
  • Start date Start date
C

Clyde Ellingwood

My main form is maximized when it first opens. Using a
custom tool bar I have a command that opens a report
form. The report form is a pop up and modal. The report
form requires input for various reports,i.e "start date"
and "end date". When the user selects a report I hide the
report form after opening the report in print preview.
When I close the print preview the focus is set to report
form and on the On Focus event I make the form visiable.

My problem is the Main form does not stay Maximized. Is
there a way to keep it Maximized?

Hope this makes sense

Clyde
 
----- Clyde Ellingwood wrote: ----

My main form is maximized when it first opens. Using a
custom tool bar I have a command that opens a report
form. The report form is a pop up and modal. The report
form requires input for various reports,i.e "start date"
and "end date". When the user selects a report I hide the
report form after opening the report in print preview.
When I close the print preview the focus is set to report
form and on the On Focus event I make the form visiable.

My problem is the Main form does not stay Maximized. Is
there a way to keep it Maximized?

Hope this makes sens

Clyd

Hi Clyde, it is likely that during this process you change the window state. Have you tried including the line
docmd.maximiz
- after the setfocus line

Luc
Jonathan
 
Back
Top