Previous Topic: Values (VAL) Conditions TypeNext Topic: Compare (CMP) Condition Type


Values List (LST) Condition Type

The Values List (LST) Condition type is used for conditions that specify a list of values that a status field can receive. Each condition list consists of one or more value (VAL) conditions.

You can only use the LST condition type for fields of type status (STS). For fields of type STS, CA 2E creates a special list condition *ALL VALUES whenever you define field conditions.

If you specify a value for the Check Conditions prompt on the Edit Field Details panel or the Edit Entry Details panel, CA 2E generates code to ensure that any value that you enter is one of the allowed values.

CA 2E generates, by default, the code necessary to display a list of values for fields of type status (STS) whenever you type ? in the field or press F4 with the cursor positioned on the field. However, CA 2E only generates the code for the list display if the field is of type STS and if you have defined a check condition for the field.

For more information on LST, see the Using Conditions topic in Defining a Data Model in the chapter "Understanding Your Data Model.".