Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMemData.CreateFieldsFromDataSet(TDataSet,TComponent) Method

Automatically creates fields based on fields from a specified dataset.

#Declaration

Delphi
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