VS-VIEWにてできた複数のレポートをVSPrinterで取得分表示するには?


まな  2006-12-22 22:55:30  No: 134690

開発環境VB6.0  XPプロフェッショナル
VS-VIEWでつくったレポートをフォームのVS-Printerに表示させることはできるのですが、それは一つのレポートだけで、レポートが4つなどあった場合
どうすれば取得したレポート数を表示できますか?

Option Explicit
Private Report_File     As String

Private Sub Form_Load()
        
  Report_File = App.Path & "\Abcd.xml"
            
      VSReport.Load Report_File, "レポート1"
      VSReport.Load Report_File, "レポート2"
      VSReport.Load Report_File, "レポート3"
      VSReport.Load Report_File, "レポート4"

      View_ReportPreview

End Sub

Private Function View_ReportPreview()

    If VSReport.IsBusy Then Beep: Exit Function
    VSReport.Render VSPrinter
    DoEvents

End Function
こうなると表示されるのは1ページだけです(最後に読み込んだレポート4だけ表示)


※返信する前に利用規約をご確認ください。

※Google reCAPTCHA認証からCloudflare Turnstile認証へ変更しました。






  このエントリーをはてなブックマークに追加