To validate an expression

When you save an expression, it is always checked to be sure it is valid. You can also check whether your expression is valid before you save it.

The validation checks the syntax of the expression, whether the specified properties are present in the current data store, and whether the property values are valid.

When possible, the validation operation displays a message describing the errors it finds. Often, you can click this error message to place the cursor at the problem spot so you can correct it.

Validation can fail for one of the following reasons:

The validation process can help you avoid many errors, but it cannot guarantee that your expression will work the way you intend when it is applied. Validation does not execute the query against actual data. It only checks that the expression syntax is correct and that the properties and values are valid for the current data store.

To validate an expression

  1. Select the command for which you want to create an expression.
  2. Create the expression.
  3. Save the expression or click Validate.
  4. If the validation panel displays errors, click the error message to move the cursor to the problem area.
  5. Resolve the problems and run the validation check again, until the validation panel indicates that the expression is valid.

    For help with any expression element, see Creating Expressions - Reference.