procedure CopyRecord(ASource: TDataset);
void __fastcall CopyRecord(Data::Db::TDataSet* ASource);
Copies all record fields from the source dataset to the Self dataset.
Use the CopyRecord method to copy the current record field values from the
ASource dataset to the Self dataset. The method copies all fields, for which the following requirements are met:
- The names exist in both datasets.
- The field in the Self dataset is not calculated.
- The field in the Self dataset is not read-only.
It is important that fields with the same name in both datasets are compatible by data type. The CopyRecord method does not verify if fields are assignment compatible.