Skip to main content

TdxCustomMemData.CreateFieldsFromDataSet(TDataSet,TComponent) Method

Automatically creates fields based on fields from a specified dataset.

Declaration

procedure CreateFieldsFromDataSet(ADataSet: TDataSet; AOwner: TComponent = nil);

Parameters

Name Type
ADataSet TDataSet
AOwner TComponent

Remarks

This method first removes all the fields created within the current ExpressMemData component and then calls the AddFieldsFromDataSet method, passing parameters to it in order to create fields based on DataSet.

See Also