[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find a field based on its name
Source position: db.pas line 1116
public function TFields.FieldByName( |
const Value: string |
):TField; |
Value |
|
Fieldname to search for |
Field instance with FieldName matching Value
Fieldbyname searches the list of fields and returns the field instance whose FieldName property matches Value. The search is performed case-insensitively.
If no field instance is found, then an exception is raised. If this behaviour is undesired, use TField.FindField, where Nil is returned if no match is found.
|
Find a field based on its name |
|
TFields.FieldName |
||
|
Search field based on its fieldnumber |
|
|
Return the index of a field instance |