DtvLong dal_mas_set_chk_fld (idf, chk)

Sets the check string of the field.

Input Parameters Significance
DtvLong idf field Id
char *chk check string of the field

Output Parameters Significance
no -

Return Code Significance
0 no error
1 zero pointer

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:

Attention! The check string may not contain spaces followed by further check characters.

Example: To assure item numbers being entered in the format > R232.544 c < you would have to specify the check string > RNNN.NNN0a < .

The function automatically invoke any set mask listener function.