Run_BRW_Report subroutine
Description
Runs Banded Report Writer reports
Syntax
Run_BRW_Report(reportName,printOption)
Parameters
The Run_BRW_Report subroutine has the following parameters.
Parameter | Description |
---|---|
reportName | The report name. Use the entity name of the fully-qualified entity id. |
printOption | Acceptable values are SCREEN, PRINTER or null. SCREEN will display the report in a prveview |
printOption | If the parameter is any value other than PRINTER then the default is to the Screen. Option - Description Screen - Sends the report to the preview windows. Printer - Sends the report to the printer. |
Example
Declare Subroutine Run_BRW_Report rptName = 'MY_REPORT' Run_BRW_Report(rptName,'PRINTER')