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

TDataSet.FindField

Find a field by name

Declaration

Source position: db.pas line 1690

public function TDataSet.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

TDataset.FieldByname

  

Search a field by name

TFields.FindField

  

Find a field based on its name


Documentation generated on: May 14 2021