Description

Runs Banded Report Writer reports

Syntax

Run_BRW_Report (reportName,printOption)

Parameters

The Run_BRW_Report subroutine has the following parameters.

ParameterDescription
reportNameThe report name. Use the entity name of the fully-qualified entity id.
printOptionAcceptable values are SCREEN, PRINTER or null. SCREEN will display the report in a preview.
printOption

If the parameter is any value other than PRINTER then the default is to the Screen.

DescriptionOption
ScreenSends the report to the preview windows.
PrinterSends the report to the printer.

Example

Declare Subroutine Run_BRW_Report
 
rptName = 'MY_REPORT'
Run_BRW_Report(rptName,'PRINTER')
  • No labels