Controlling Zoom level of Report

  • Thread starter Thread starter Dave the wave
  • Start date Start date
D

Dave the wave

Does Access allow me to control the zoom level of a report preview?

I have a toolbar that allows the user to navigate between the preview pages
of a report. The problem is that unless the preview zoom level is set to
"FIT", the -Page UP-, -Page Down-, etc. keys cause the opened page to be
moved around instead of jumping to a different page.
 
Dave said:
Does Access allow me to control the zoom level of a report preview?

I have a toolbar that allows the user to navigate between the preview pages
of a report. The problem is that unless the preview zoom level is set to
"FIT", the -Page UP-, -Page Down-, etc. keys cause the opened page to be
moved around instead of jumping to a different page.


Assuming you have a form button that opens the report:

DoCmd.OpenReport . . .
DoCmd.Maximize 'might not want this line
DoCmd.RunCommand acCmdFitToWindow
 
Actually, the report is opened from a switchboard button. However, I took
your "DoCmd.RunCommand acCmdFitToWindow" code and inserted it into the
switchboard code for opening up a report. Now any report opened from the
switchboard will work with my custom toolbar.

THANKS!!!
 
Back
Top