Sign in Join
FPDoc Onlineexperiment

TDataSet.FindField function

Member of TDataSetpublicIn unit DB

Find a field by name.

Declaration

pascal
function FindField(const FieldName: string): TField

Arguments

FieldName

Fieldname to look for.

Function result

Field instance matching FieldName.

Description

FindField is a shortcut for Fields.FindField: it searches for the field with fieldname equalling FieldName. The case is performed case-insensitive. The matching field instance is returned, and if no match is found, Nil is returned.

See also

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