Data.DB.GetFieldProperty

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFieldProperty(DataSet: TDataSet; Control: TComponent;
const FieldName: string): TField;

C++

extern DELPHI_PACKAGE TField* __fastcall GetFieldProperty(TDataSet* DataSet, System::Classes::TComponent* Control, const System::UnicodeString FieldName);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

Returns a TField object for a dataset and data control.

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.

See Also