DtvLong dal_mas_set_xea_mas (idm, xea)

Sets a userexit at the edit_action-trigger of the mask passed.

Input Parameters Significance
DtvLong idm mask Id
char *xea edit_action-userexit

Output Parameters Significance
no -

Return Code Significance
0 no error
1 zero pointer
2 function name not in userexit list

The edit_action-userexit is called before an edit operation is executed in the mask (insert, update, query).

Any required application parameters must be passed together with the name of the userexit in *xea. In order to delete an userexit already set, you must pass an empty string.

The function automatically invoke any set mask listener function.