Sign in Join
FPDoc Onlineexperiment

TFields.FindField function

Member of TFieldspublicIn unit DB

Find a field based on its name.

Declaration

pascal
function FindField(const Value: string): TField

Arguments

Value

Fieldname to search for.

Function result

Field instance with FieldName matching Value.

Description

FindField searches the list of fields and returns the field instance whose FieldName property matches Value. The search is performed case-insensitively. If no field instance is found, then Nil is returned.

See also

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