return to form

rdw456

Novice
Local time
Today, 15:05
Joined
Jul 20, 2012
Messages
43
I have a form with several command buttons to run reports. When I open the form I used the docmd.maximize and when I use the button to run the report it runs but when I close the report it returns to the form which is now sized not maximized. I want to have the form as it was before I opened the report. not sure why it is doing this.

Thanks in advance

Bob
 
Then try by setting the DoCmd.Maximize on the form's Activate event.
Code:
Private Sub Form_Activate()
  DoCmd.Maximize
End Sub
 
Hello thanks for the tip it worked

Bob
 

Users who are viewing this thread

Back
Top Bottom