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

TDataSet.GetFieldList

Return field instances in a list

Declaration

Source position: db.pas line 1694

public procedure TDataSet.GetFieldList(

  List: TList;

  const FieldNames: string

);

Arguments

List

  

List in which to return field instances

FieldNames

  

Semicolon-separated list of fieldnames

Description

GetfieldList parses FieldNames for names of fields, and returns the field instances that match the names in list. FieldNames must be a list of field names, separated by semicolons. The list is cleared prior to filling with the requested field instances.

Errors

If FieldNames contains a name of a field that does not exist in the dataset, then an EDatabaseError exception will be raised.

See also

TDataset.GetFieldNames

  

Return a list of all available field names

TDataset.FieldByName

  

Search a field by name

TDataset.FindField

  

Find a field by name


Documentation generated on: Jun 23 2021