Report

From Xojo Documentation

Revision as of 17:49, 3 April 2021 by Gperlman (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.