Modifying Action Diagrams › Understanding the Action Diagram Editor › Entering and Editing Field Conditions › Adding Conditions
Adding Conditions
To add conditions use the following steps:
- From the Edit Action - Condition panel type ? in the Condition field and press Enter.
Or do the following:
From the Edit Database Relations panel type Z2 next to the file to field relation for which you want to define conditions.
The Edit Field Details panel appears.
- From this panel, change any of the field attributes and add any narrative text.
- Press F9 to view the field conditions.
The Edit Field Conditions panel appears.
- Enter a new condition. Type the name of the condition in the Enter Condition field and the condition type, VAL or LST for status fields or CMP and RNG for non-status fields and type Enter.
The Edit Field Condition Details appears.
- If your field is of type status, type the internal file value associated with the condition name. For instance, P for the field condition Paid.
- If your field is of any type other than status and the condition type is range (RNG), type the From and To range.
- If your condition type is Compare (CMP), type the comparison operator (EQ, GT) and the comparison value.