Configures the printer by opening the configuration window (WINDEV and WINDEV Mobile). The configuration window is initialized with the parameters specified when the report was created (orientation, margins, etc.).
IF iConfigureReport(RPT_MyReport) = True THEN
iPrintReport(RPT_MyReport)
ELSE
Info("The report configuration was canceled")
END
Syntax
<Result> = iConfigureReport(<Report name>)
<Result>: Boolean
- True if the information typed in the dialog box was validated by the user,
- False if user cancelation.
<Report name>: Character string
The characteristics of this report (specified when the report was created) will be used to initialize the configuration window (orientation, etc.).
Remarks
Configuration taken into account when printing a report
Only the last configuration is taken into account when printing a report.
We advise you not to use
iConfigureReport and
iParameterReport several times while no report is printed.
Re-initializing the configuration
After the call to
iConfigureReport (or
iParameterReport), any new call to this function will reinitialize the configuration window with the parameters used during the first call to the function.