Input Parameters | Significance |
DtvLong id1 | Id of the source mask |
DtvLong ro1 | source row position |
DtvLong id2 | Id of the target mask |
DtvLong ro2 | target row position |
Output Parameters | Significance |
no | - |
Return Code | Significance |
0 | no error |
1 | wrong source row position |
2 | wrong target row position |
3 | error in the edit_action-trigger for insert mode |
The row position of any existing records after the copied record is incremented by one.
Attention! When copying in the same mask the function is applicable only if the target row position is larger than the source row position or the row position of the source data record must be increased by 1. Because in the target data record a record is inserted, in the source data record (same mask) there also a record must be inserted.
The function is basically identical to the function dal_mas_cop_rec. However, the edit_action-triggers for insert mode are executed additionally, the defined default values are automatically entered in the fields, the maximum record limit is not checked, and the scroll area is automatically updated. As opposed to dal_mas_cop_rec a new record is inserted in the target mask.