RAD Studio VCL Reference
|
Returns a field, given its name.
function FieldByName(const Name: string): TField;
__fastcall TField FieldByName(const AnsiString Name);
Call FieldByName to retrieve field information for a field when only the field's name is known. FieldName is the name of an existing field. FieldByName returns the TField component for the specified field. An application can access specific properties and methods of the field directly.
If the specified field is not found, FieldByName raises an EDatabaseError exception.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|