LogicalOperator (Property)

Applies To:

Limit collection

Description:

Sets the value of the filter logical operator of each filter object. The LogicalOperator (Property) is ignored when only one filter value displays for a section. The filter LogicalOperator (Property) is always ignored for the first filter value when multiple filter values exist. If multiple filter values are in a section, the LogicalOperator of the second filter applies to the relationship between the first and second filter values. The LogicalOperator of the third filter applies to the relationship between the second and third filter values, and so on.

Action:

Read-write, BqLogicalOperator

Constants:

The LogicalOperator (Property) uses the BqLogicalOperator constant group, which consists of the bqLogicalOperatorAND (default value) and bqLogicalOperatorOR values.

Example:

This example shows how to set the OR logical operator on a filter object:

ActiveDocument.Sections["SalesQuery"].Limits["Year"].LogicalOperator=bqLogicalOperatorOR