Back to Devexpress

TdxCustomMemData.CopyFromDataSet(TDataSet) Method

vcl-dxmdaset-dot-tdxcustommemdata-dot-copyfromdataset-x28-data-dot-db-dot-tdataset-x29.md

latest1017 B
Original Source

TdxCustomMemData.CopyFromDataSet(TDataSet) Method

Makes a copy of a specified dataset.

Declaration

delphi
procedure CopyFromDataSet(DataSet: TDataSet);

Parameters

NameType
DataSetTDataSet

Remarks

Call this method to duplicate the structure and data of the specified DataSet within the current ExpressMemData component. To accomplish this, the CopyFromDataSet method calls CreateFieldsFromDataSet and then LoadFromDataSet.

Note

Before copying DataSet contents the current ExpressMemData component is cleared.

See Also

TdxCustomMemData Class

TdxCustomMemData Members

dxmdaset Unit