Skip to content

TDataSet.GetFieldNames

Return a list of all available field names.

Declaration

Source position: db.pas line 1925

public 
procedure TDataSet.GetFieldNames(List: TStrings);

Description

GetFieldNames returns in List the names of all available fields, one field per item in the list. The dataset must be open for this function to work correctly.

See also

Name Description
TDataset.GetFieldNameList
TDataset.FieldByName Search a field by name.
TDataset.FindField Find a field by name.