Description
Runs Report Builder+ labels.
Syntax
Run_Label (LabelName,Select_Statement,Select_Option,Print_Option)
Parameters
The Run_Label subroutine has the following parameters.
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
LabelName | The label name. Use the entity name of the fully-qualified entity id. | ||||||
Select_Statement | Selection criteria to use for label creation. | ||||||
Select_Option |
| ||||||
Print_Option |
|
Note:The Run_Label function is to be used with existing Report Builder Label records only.
Example
* The fully qualified entity id is EXAMPLES*OIREPORT*RBLABEL*CUSTOMER_ADDRESS Declare Subroutine Run_Label * Run the Existing Label Report LabelName = 'CUSTOMER_ADDRESS' Run_Label(LabelName,'','') * Run the Existing Label Report select_statement = "SELECT CUSTOMERS WITH STATE = 'NJ'" Run_Label(LabelName,Select_Statement,1)