DoCmd.Maximize on report

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

I put captioned command in open event to have a full screen. It works on
landscape correctly but not portrait. In portrait, it opens to full page
Fit screen. Can someone advise how to open it to 100%.

Thanks,

Scott
 
Something like this in your open report button:


Private Sub cmdOpen_Click()
DoCmd.OpenReport "YourReportName", acViewPreview
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom100
End Sub
 
Thanks Arvin! However, I got error message that the command or action 'Zoom
100%' isn't available now on my Access 2003. Any idea?

Scott
 

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