char *dal_mas_ret_chk_fld (idf)
Returns the check string of the field.
If you set a check string for the field, DataView will check whether characters entered in the field fulfill the conditions set by the individual check characters at the current position in the field. Thus you can define conventions for field input.
The following check characters can be used:
- > 0 < No entry allowed. The cursor skips this position.
- > a < Upper case letters are transformed into lower case letters (all characters allowed).
- > A < Lower case letters are transformed into upper case letters (all characters allowed).
- > I < Upper case letters are transformed into lower case letters (except special characters).
- > L < Lower case letters are transformed into upper case letters (except special characters).
- > N < Only numeric characters are accepted.
- > X < X stands for any character without the check string itself (0, a, A, l, L,N). Any character entered is automatically transformed into the check string specified here. In this process, the case of the check string will be preserved, irrespective of whether the user presses the Shift key or not. It is allowed to enter special characters.
- > > < A > in front of the check string defines that all characters starting at the check string position must correspond to the rules set by the check string.
Example:
To assure item numbers being entered in the format > R232.544 c < you would have to specify the check string > RNNN.NNN0a < .