Sign in Join
FPDoc Onlineexperiment

TDataSet.GetFieldList procedure

Member of TDataSetpublicIn unit DB

Return field instances in a list.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.