FireDAC.Comp.DataSet.TFDDataSet.CopyRecord
Delphi
procedure CopyRecord(ASource: TDataset);
C++
void __fastcall CopyRecord(Data::Db::TDataSet* ASource);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Beschreibung
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.