[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'db' (#fcl)

TDataSet.GetFieldNames

Return a list of all available field names

Declaration

Source position: db.pas line 1314

public procedure TDataSet.GetFieldNames(

  List: TStrings

);

Arguments

List

  

List in which to return field names

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

TDataset.GetFieldNameList

TDataset.FieldByName

  

Search a field by name

TDataset.FindField

  

Find a field by name

The latest version of this document can be found at lazarus-ccr.sourceforge.net.