Sign in Join
FPDoc Onlineexperiment

TFields.FieldByNumber function

Member of TFieldspublicIn unit DB

Search field based on its fieldnumber.

Declaration

pascal
function FieldByNumber(FieldNo: Integer): TField

Arguments

FieldNo

Field number to search for.

Function result

Field instance with matching FieldNo property.

Description

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

See also

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