cch_chk_rng
Checks whether the current field entry is in a defined range.
Parameters:
limit1 limit2
- Limit
- The limits describe the range of values. Limit1 is the lower, limit2 is the upper limit. The user can only specify entries in the field, which are in the limit. You can define all field data types supported by DataView as limits. It is only useful to specify limits for a data type you defined for the field. If you enter * for limit1, the userexit checks, whether the field entry is smaller or equal than limit2. If you enter * for limit2, the userexit checks, whether the field entry is greater or equal than limit1.
Usage as:
Post_Field userexit at each field.
Explanation:
If a current field entry is not within the limit, DataView issues a message. The user can only leave the field after entering a correct entry.
Example:
for range of values
- cch_chk_rng -> The field entry of the integer type is to be >= and <= .
- cch_chk_rng * .. -> The field entry of the date type is to be <= ...
- cch_chk_rng .5 *-> The field entry of the real type is to be >= .5.