Difference between revisions of "Report"

From Xojo Documentation

 
Line 9: Line 9:
  
 
<dynamicTable id="Properties" class="propertyTable" title="Properties" columns="3">
 
<dynamicTable id="Properties" class="propertyTable" title="Properties" columns="3">
{{Property | name=Document | type=[[RBReportDocument]] | platform=all | description=(RBReportDocument)&nbsp;&nbsp;Contains the rendered pages after the report is Run. }}
+
{{Property | name=Document | type=RBReportDocument | platform=all | description=(Reports.RBReportDocument)&nbsp;&nbsp;Contains the rendered pages after the report is Run. }}
 
</dynamicTable>
 
</dynamicTable>
  

Latest revision as of 17:49, 3 April 2021

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.