Modifies through programming the report associated with a sub-report in a composite report.
Remark: This function can only be used when printing a composite report.
// Declaration code of the globals of a composite report
iChangeSubReportSource(SRPT_SubReport1, RPT_Form)
Syntax
iChangeSubReportSource(<Subreport> , <Target Report>)
<Subreport>: Character string
Name of the sub-report to modify.
<Target Report>: Character string
Name of the report to associate with the sub-report. This report will be actually printed when printing the sub-report. This name must be a valid name. If this parameter corresponds to an empty string (""), the sub-report will not be printed.
Business / UI classification: Neutral code