Name

selection — Return a selection of records based on an expression.

Syntax

selection(expression)
              

The SELECTION function has the following argument.

expression

An expression thast will be applied to the current dataset to select records. The expression must evaluate to a boolean true/false value.

Description

This function will calculate the selection of records based on the value of a boolean expression.

Examples

Formula

Description

Result

selection(Tract in 'A,B,C')Return a selection set that identifies the records where the values in the Tract column are in the list of A, B or C. selection set