DtvLong dal_wdh_cop_pas (par)

Carries out a Copy&Paste operation with selected records.

Input Parameters Significance
char *par "COPY"
"PASTE"

Output Parameters Significance
none -

Return Code Significance
0 no error
1 parameter error
2 wrong starting widget
3 no records selected

Can be invoked as on_select-userexit in the widget menu or as on_event-userexit in the widget state.

After COPY DataView will output a message, how many records were copied to the special DataView-clipboard. It is a precondition for a successful PASTE that both source and target mask either point to the same database table or to tables that have relations to each other. If this is not the case, DataView will output an error message.

This function can also be called in virtual mode.