DtvLong dal_mas_cop_rec (id1, ro1, id2, ro2)

Copies the field contents of the records of the source mask into all fields of the records in the target mask that have the same name. The field contents of the records at the specified row position in the target mask are overwritten.

Input Parameters Significance
DtvLong id1 Id of the source mask
DtvLong ro1 source row position
DtvLong id2 Id of he 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

In the target mask no new record is opened. If you want to insert the record of the source mask into the target mask without overwriting any old record content of the target mask, you will have to create a new empty record in the target mask first. To do so, use the function dal_mas_cre_rec.

The dirty flags of all fields of the source mask are also copied into the fields of the target mask.

The function is basically identical to the function dal_mas_cop_row. However, no edit_action-triggers are executed, no default values are entered and no scroll area is updated.

If the current record length of the column record buffer reaches the maximum record limit, you cannot insert any more new records.