DtvLong dal_cch_nop_ins (par)

Prevents inserting new records or copying existing ones into a mask.

Input Parameters Significance
char *par userexit parameter string

Output Parameters Significance
none -

Return Code Significance
0 no error
1 action is prevented

Can be invoked as edit_action-userexit at any mask.

This function prevents all insert operations in widget state and all copy operations of records in element selection state.

After calling the function DataView will output a warning in the message window after each attempt to copy or insert records.