Building Conditional Expressions

Conditional expressions include a data source, an operator, and a value. Complex expressions allow you to combine one or more conditions into a single expression. These are built through BarTender's Tree View.

Even the most complex expressions are composed of simple expressions, which are then combined together with conditional joiners to create a final product. To build a complex expression, you must know how to customize conditions, add conditions, and finally, add groups of conditions.

To modify an existing expression

  1. Click on [Data Source] and select the desired named data source or database field from the list.

  2. Click on the Operator and select the desired operator for use. For a complete list of available operators and how they can be used, see Overview of Conditional Printing.

  3. If necessary, click on <enter a value> to type in the desired Value.

To add a new condition

  1. Next to the desired joiner, click to add a new condition. Alternatively, you can click on the joiner and select Add Condition.

  2. Click on [Data Source] and select the desired named data source or database field from the list.

  3. Click on the Operator and select the desired operator for use. For a complete list of available operators and how they can be used, please see Overview of Conditional Printing.

  4. If necessary, click on <enter a value> to type in the desired Value.

To add a new group of conditions

  1. In the Tree View, click on the conditional joiner to open the Conditional menu.

  2. Click Add Group. By default, the new conditional group will be created with the AND joiner and a single condition.

  3. Click on the new joiner and select the desired joiner type. For more information on the various joiners available and how they work, see Overview of Conditional Printing.

  4. If you need more than one condition, click the icon. Alternatively, you can click on the joiner and select Add Condition from the Conditional menu to add conditions to the joiner.

Related Topics