Report

From Xojo Documentation

Class (inherits from Object)

Used to generate reports.

Properties
Document


Methods
Run


Constructors

Constructor(units as Reports.Units)


Examples

Running a report to obtain the rendered pages in Reports.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

See Also

Reports module; RBReportDocument, ReportField, ReportLabel, ReportLineShape, ReportOvalShape, ReportRectangleShape, ReportRoundRetangleShape. ReportPicture classes.