RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.GetFieldProperty Function

Returns a TField object for a dataset and data control.

Pascal
function GetFieldProperty(DataSet: TDataSet; Control: TComponent; const FieldName: WideString): TField;
C++
TField GetFieldProperty(TDataSet DataSet, TComponent * Control, const BSTR FieldName);

DB

GetFieldProperty returns a reference to a field given the dataset component that contains the field, the data-aware control that accesses the field, and the field name. GetFieldProperty returns a value of type TField

DataSet is the dataset component containing the field. 

Control is the data-aware control that accesses the field. 

FieldName is the name of the field for which to return a TField

 

TDataSet 

TFields

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!