Update the Report property of a SubReport Control.

This should be used when the Report property of a SubReport Control needs to be updated. The Report object will be initialised correctly and its PrinterSettings updated.

Syntax

ISReportFunctions.RpxUpdateSubReportControl(subReportControl, report, [supportReporting], [printerSettings])

Parameters

NameTypeOptionalByRefDescription
subReportControl GrapeCity.ActiveReports.SectionReportModel.SubReport The SubReport Control.
report GrapeCity.ActiveReports.SectionReport The new Report.
supportReporting ISSupport Optional The Support layer to use for Reporting (database access, global collections etc). This may differ from the current Support layer if the Report (and its underlying Query) is to use a different database. If omitted, a value of Nothing is assumed.
printerSettings ISPrinterSettings Optional The Printer Settings to initialise the Report with. If omitted, a value of Nothing is assumed.

Return Value

GrapeCity.ActiveReports.SectionReport

A GrapeCity.ActiveReports.SectionReport value.

Member of:
ISReportFunctions
Namespace:
Intersoft.ISReports6
Assembly:
ISReports6, Version=6.0.3
Target Framework:
.NET 9.0