Open report in Fit to window view

  • Thread starter Thread starter Ashley
  • Start date Start date
Ashley said:
I would like to open report in FIT to window view. Anyone
know how to code it?

DoCmd.OpenReport "ReportName", acViewPreview
DoCmd.RunCommand acCmdFitToWindow
 
Ashley said:
I would like to open report in FIT to window view. Anyone
know how to code it?


I swear this question gets asked at least once a day. I'm
sure that a Google search of the newsgroups for
Access report fit window
will find a thousand matches.

To save you the trouble of looking for it, use this sequence
on your form's preview button's Click event:

DoCmd.OpenReport . . .
DoCmd.RunCommand acCmdFitToWindow
 

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

Back
Top