block

Invokes a block.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
    X    

Syntax

void  block(block-name | data)
ident       block-name
int         data

Description

Invokes a specified block. You can specify any block from anywhere in the report.
block-name specifies the name of the report block to invoke.

data specifies the sequence number of the report block to invoke.

Notes

TRIMreport creates the following triggers by default:

Example

Placed in a child trigger, conditionally invokes different child report blocks based on the value in SAL.
{
if (SAL > 20000) block(CHILD_OVER_20K);
else             block(CHILD_BELOW_20K);
}