DtvLong dal_mas_set_acc_fld (idf, acc)

Sets the access Id of the field.

Input Parameters Significance
DtvLong idf field Id
char acc access Id of the field:
0 = invisible
'r' = read only
'w' = write
'm' = must write
'*' = work-mode-specific

Output Parameters Significance
no -

Return Code Significance
0 no error
1 wrong access Id
2 no 0-access to siginificant field allowed

When the access Id is > 0 < , the field is not visible. You cannot position the cursor on the field.

When the access Id is > * < , the field access depends on the current work mode of mask edit state. You can set the mode-specific field access using the function dal_mas_set_acm_fld.

The function automatically invoke any set mask listener function.