Preview report

  • Thread starter Thread starter BW
  • Start date Start date
B

BW

Is there a way to have a report (using the preview screen) to come up with
the "view" showing 2 full pages? I know I can go the toll bar and select
the button to show two pages but I would like to tell it when opening the
report to do this automatically.

Thanks
Brent
 
Is there a way to have a report (using the preview screen) to come up with
the "view" showing 2 full pages? I know I can go the toll bar and select
the button to show two pages but I would like to tell it when opening the
report to do this automatically.

Thanks
Brent

Open the report from and event on a form:

DoCmd.OpenReport "ReportName", acViewPreview
DoCmd.RunCommand acCmdPreviewTwoPages
 
BW,
Use this code to open the report...
DoCmd.OpenReport "rptYourReportName", acViewPreview
DoCmd.RunCommand acCmdPreviewTwoPages
 

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