Skip to content

TFields.FieldByNumber

Search field based on its fieldnumber.

Declaration

Source position: db.pas line 1365

public 
function TFields.FieldByNumber(FieldNo: Integer) : TField;

Description

FieldByNumber searches for the field whose TField.FieldNo property matches the FieldNo parameter. If no such field is found, Nil is returned.

See also

Name Description
TFields.FieldByName Find a field based on its name.
TFields.FindField Find a field based on its name.
TFields.IndexOf Return the index of a field instance.