Expression Wizard - Enter Expression

The Expression Wizard lets you specify a value by calculating an expression. This section describes the Expression Wizard in the banded report editor. For information on the similar Expression Builder used in CSV and extract reports, schedules, and other places in Argos, refer to the Expression Builder section, since some of the functions work differently.

If you know exactly what you need, you can manually type an expression in. However, there are options if that is not the case:

Expressions Summary

This image shows the Expression Wizard dialog.  Buttons for selecting a Database field, Function, or variable exist within this dialog.   Numerous operators such as plus, minus, and, or, greater than, among others, also exist within this dialog.

The expression evaluator works with four data types: Strings, Integer, Float, and Boolean. Binary data and memo fields are not supported in expressions. Below is a list of how database fields are converted to report data types:

Data Type Field Type
String String fields, date and time fields
Integer SmallInt fields, byte fields, integer fields
Float Float fields, currency fields
Boolean Boolean (logical) fields

 

Below is a list of the supported operators that you can use when creating an expression:

Operator Description
+ Add/Concatenate strings
- Subtract
* Multiply
/ Divide
() Parentheses
And Logical AND
Or Logical OR
Not Logical NOT
= Equal
< Less than
> Greater than
<= Less than or equal
>= Greater than or equal
<> Not equal

 

Using Strings in Expressions

Strings in expression should be put in single quotes. The following is a valid expression:

‘Computers are great!’

You can also concatenate strings together using the '+' operator. Maximum string length is 255 characters.

 


Need More Help?

If you need additional help creating Banded Reports, refer to the Getting Started with Banded Reports page.