• Report(2 Pages View) (A2k)

    • This topic has 4 replies, 2 voices, and was last updated 21 years ago.
    Author
    Topic
    #401925

    Is there a way to view report in print preview and automatically force it to be in the 2 pages view?
    I didn’t see any references to this in VBA help.
    Thanks,
    Scott

    Viewing 1 reply thread
    Author
    Replies
    • #796163

      Recommend use the acCmdPreviewTwoPages command. Example:

      Sub OpenReportTest()

      DoCmd.OpenReport “Report1”, acViewPreview
      DoCmd.Maximize
      DoCmd.RunCommand acCmdPreviewTwoPages

      End Sub

      This opens the report, maximizes window, and displays it in two-page mode.

      HTH

      • #796171

        Thanks,
        That did the trick.
        I guess I didn’t put in the right search criteria in the help screen.
        Thanks,
        Scott

      • #796172

        Thanks,
        That did the trick.
        I guess I didn’t put in the right search criteria in the help screen.
        Thanks,
        Scott

    • #796164

      Recommend use the acCmdPreviewTwoPages command. Example:

      Sub OpenReportTest()

      DoCmd.OpenReport “Report1”, acViewPreview
      DoCmd.Maximize
      DoCmd.RunCommand acCmdPreviewTwoPages

      End Sub

      This opens the report, maximizes window, and displays it in two-page mode.

      HTH

    Viewing 1 reply thread
    Reply To: Report(2 Pages View) (A2k)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: