Expression Tutorial

Columns

The same columns that can be selected to be part of the output can also be used in the expression text. The Format: TableName.ColumnName

Constants

Constant values of the usual data types can be used. Here are some examples...

Comparing

The usual binary comparing operators are available: <, <=, ==, =, !=, <>, >=, >

Please note: You will have to group individual comparings by using opening and closing parentheses, like so... (Customer.FirstName == 'John')

Logicals

Logical operations come in two flavors, namely unary and binary.

Unary

The 'negation'. It's symbol is the '!'. It acts on a single boolean expression.

Examples:

Binary

Binary operations take two boolean expressions. The two types supported are 'AND' and 'OR'...

Examples:

CAVEAT: Comparisons, like Customer.FirstName = 'Jane', need to always be wrapped in parentheses, otherwise the expression is invalid. This for example means that the last example given can NOT be simplified as the following: ((Customer.FirstName = 'Jane' OR Customer.FirstName = 'John') AND (Customer.LastName == 'Doe'))

Math

The operators that can be used here are: +, -, *, /, %.

Examples:

Parameters

These preset parameters have been included specifically in this demo...

Methods

In this demo the following example methods have been provided...