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