Report

From Xojo Documentation

Revision as of 14:02, 24 October 2018 by PLefebvre (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

Used to generate reports.

Properties
Document


Methods
Run


Constructors

Report.Constructor(units as Reports.Units)


Examples

Running a report to obtain the rendered pages in Reports.DataSet:

Dim ds As New GasDataSet
Dim ps As New PrinterSetup
Dim 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.