Skip to main content

TdxCustomMemData.CopyFromDataSet(TDataSet) Method

Makes a copy of a specified dataset.

Declaration

procedure CopyFromDataSet(DataSet: TDataSet);

Parameters

Name Type
DataSet TDataSet

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