Openning at 100%

A

AccessARS

I have a reporting switchboard with command buttons to open and maximize any
chosen report. My problem is that they all open with the view set to "Fit"
therefore making it too small to read. I've been struggeling for too long to
set the view to 100% on load/open. Any suggestioons?

Thank you in advance.
A.S.
 
A

Al Camp

Check out RunCommand and RunCommand Constants in Help.
DoCmd.RunCommand acCmdZoom100
hth
Al Camp
 
R

Robin Chapple

This is something I have needed for some time. I tried the suggestion
and I get " Error 2046"
"The command or action "Zoom 100%" isn't available now"

What have I missed?

Robin Chapple
 
A

Al Camp

Robin,
Using the code that opens the report...
DoCmd.OpenReport "YourReportName", acViewPreview
DoCmd.RunCommand acCmdZoom100
(or whatever Zoom factor (150, 200, 75, etc..) you want... see RunCommand
Constants in Help))
hth
Al Camp
 
Top