Open Report in Layout View

  • Thread starter Thread starter woolla01
  • Start date Start date
W

woolla01

Guest
Hi :o
In report design mode you can click on View - Layout Preview
This gives me the desired report appearing maxmised 100% zoom

However when you run the you add a button toa form and either via the wizard or manually you can only open the report in Print Preview mode.
The report then appears in middle of screen @ 75% zoom and not utilising the full screen

example of code on buttonDoCmd.OpenReport stDocName, acViewPreview

how can i make the report utilise the full screen and default to 100% zoom

regards
 
Not sure which view you prefer but one of these should set you on the right path...

Code:
DoCmd.OpenReport "YourReportName", acViewPreview
DoCmd.Maximize
DoCmd.RunCommand acCmdPreviewOnePage
Code:
DoCmd.OpenReport "YourReportName", acViewPreview
DoCmd.Maximize
DoCmd.RunCommand acCmdZoom100
 

Users who are viewing this thread

Back
Top Bottom