Openning at 100%

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Check out RunCommand and RunCommand Constants in Help.
DoCmd.RunCommand acCmdZoom100
hth
Al Camp
 
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
 
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
 
Back
Top