Controlling Zoom level of Report

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.
 
M

Marshall Barton

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
 
D

Dave the wave

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!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top