View Full Version : making all reports open in same window size


ahvc
05-13-2003, 05:33 AM
Dear Access friends,

Can you please tell me how I can make sure all my reports open in the same window size. I hope it is possible. that will help it look more professional, instead of all windows not being the same, and always having to be expanded to full size.

Right now I open the reports in this format:
DoCmd.OpenReport "rptChipper", acViewPreview
(instead of acViewPreview, the 2 other options will be acViewDesign,acViewNormal). THe other 2 parameters are the filter and the where conditions.

Thank you
AHVC

Fornatian
05-13-2003, 05:55 AM
Use a command to set the zoom each time:

Docmd.RunCommand acCmdZoomBox
Docmd.RunCommand acCmdZoom75
etc...

ahvc
05-19-2003, 04:03 AM
Thank you.

I tried
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom100

and it worked. For some reason, DoCmd.RunCommand acCmdZoom100
did not work by itself.

Thanks again.
AHVC