Anyone know how to...

gblack

Registered User.
Local time
Today, 19:33
Joined
Sep 18, 2002
Messages
632
Set the zoom of the report to 100%?

When I click a button a report opens. What I would like is to set the zoom feature to 100% as a default when the button is clicked and the report is displayed. Can I do this programmatically?

DoCmd.OpenReport ReportName, acViewPreview
DoCmd.Maximize…

So far the report comes up, but even though I have it maximized it is displayed in such a way that you have to zoom in to read it. I would rather have it so the end user doesn't have to do this.

Thoughts?
Gary
 
DoCmd.OpenReport ReportName, acViewPreview

DoCmd.RunCommand acCmdZoom10
DoCmd.RunCommand acCmdZoom25
DoCmd.RunCommand acCmdZoom50
DoCmd.RunCommand acCmdZoom75
DoCmd.RunCommand acCmdZoom100
DoCmd.RunCommand acCmdZoom150
DoCmd.RunCommand acCmdZoom200

DoCmd.RunCommand acCmdFitToWindow
 
Sweet!!!

Thanks A Lot!!!
G
 

Users who are viewing this thread

Back
Top Bottom