Please Help!? Report Maximising

A

A. Smart

Is it possible to maximise a Print Preview window once the button is clicked?
Cheers
 
A

A. Smart

Thanx that works great.
Is it possible to keep the Form, from which the button is clicked, not
maximising!
--
Regards

Ashley Smart


Brendan Reynolds said:
Private Sub Report_Open(Cancel As Integer)

DoCmd.Maximize

End Sub
 
B

Brendan Reynolds

Only if you set the Popup property to 'Yes'.

--
Brendan Reynolds (MVP)


A. Smart said:
Thanx that works great.
Is it possible to keep the Form, from which the button is clicked, not
maximising!
 
R

Rob Parker

If what you are wanting is to prevent the calling form remaining maximized
after the report is closed, you can use the following:

Private Sub Report_Close()
DoCmd.Restore
End Sub

HTH,

Rob

A. Smart said:
Thanx that works great.
Is it possible to keep the Form, from which the button is clicked, not
maximising!
 
Top