From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As RBReportDocument )
aReport.Document = newRBReportDocumentValue
RBReportDocumentValue = aReport.Document

Supported for all project types and targets.

Contains the rendered pages after the report is Run.


This example runs a report to obtain the rendered pages in a DataSet:

Var ds As New GasDataSet
Var ps As New PrinterSetup
Var rpt As New GasPricesReport

If rpt.Run(ds, ps) Then
If rpt.Document <> Nil Then ReportViewer1.SetDocument(rpt.Document)
End If