Skip to content

TDataSet.FindField

Find a field by name.

Declaration

Source position: db.pas line 1915

public 
function TDataSet.FindField(const FieldName: string) : TField;

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

Name Description
TDataset.FieldByname Search a field by name.
TFields.FindField Find a field based on its name.