Table of Contents

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.

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 prveview
printOptionIf 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')