Initializes the parameters of an internal report used by a report.
Remark: By default, an internal report receives the same parameters as the calling report. This function allows you to specify different parameters to an internal report.
// Global declarations of a report
iInitInternalReport(RPTI_InternalReport1, nLowerBound, nUpperBound)
Syntax
iInitInternalReport(<Internal Report control> [, <Parameter 1> [... [, <Parameter N>]]])
<Internal Report control>: Control name
Name of Internal Report control to initialize.
<Parameter 1>: Type of the parameter (optional)
First parameter expected by the internal report associated with the Internal Report control.
<Parameter N>: Type of the parameter (optional)
Last parameter expected by the internal report associated with the Internal Report control.
Remarks
- This function can only be called when printing a report.
- This function does not allow you to manage parameters by reference: when called, iInitInternalReport copies the value of parameters.