DtvLong dal_iwf_dup_elm ()

Creates a copy for each selected record in the mask, puts the mask into insert mode of mask edit state and jumps into the mask-edit-loop.

Input Parameters Significance
none -

Output Parameters Significance
none -

Return Code Significance
0 no error
1 no insert operation possible in main entity in the widget
2 parent element of the relation is temporarily deleted
3 parent element of the relation is finally deleted
4 parent element of the relation is locked
5 no insert access to main entity in the widget granted
6 no record selected

Can be invoked as on_select-userexit in widget menus or as on_event-userexit in element selection state of a mask.

Before editing the edit_action-trigger of the mask is called, before insert-transaction the pre_action-trigger of the mask is called, and after the insert transaction the post_action-trigger of the mask is called. The trigger execute the function you define for insert mode.

Attention! In relation masks only a new relation entry and no new master entry will be created.

Attention! Blob field contents are not copied.