TDataSet.FieldByName function
Search a field by name.
Declaration
function FieldByName(const FieldName: string): TFieldArguments
FieldName | Fieldname to look for. |
Function result
Field instance matching
FieldName.
Description
FieldByName is a shortcut for
Fields.FieldByName: it searches for the field
with fieldname equalling
FieldName. The case is performed case-insensitive. The matching field instance is returned.Errors
If the field is not found, an EDatabaseError exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
