The function sets two integer parameters of the report defined by the reference variable refId.
Note
The report parameters can be also defined by right-clicking the report and select the item Parameters.In the displayed dialog box set required values and click the button OK.