IBM 15 Manual Do Utilizador

Página de 270
123
Building CLEM Expressions
Checking CLEM Expressions
Click
Check
in the Expression Builder (lower right corner) to validate the expression. Expressions
that have not been checked are displayed in red. If errors are found, a message indicating the
cause is displayed.
Figure 7-11
Invalid CLEM expression
The following items are checked:
Correct quoting of values and field names
Correct usage of parameters and global variables
Valid usage of operators
Existence of referenced fields
Existence and definition of referenced globals
If you encounter errors in syntax, try creating the expression using the lists and operator buttons
rather than typing the expression manually. This method automatically adds the proper quotes
for fields and values.
Find and Replace
The Find/Replace dialog box is available in places where you edit script or expression text,
including the script editor, CLEM expression builder, or when defining a template in the Report
node. When editing text in any of these areas, press
Ctrl-F
to access the dialog box, making sure
cursor has focus in a text area. If working in a Filler node, for example, you can access the dialog
box from any of the text areas on the Settings tab, or from the text field in the Expression Builder.