RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBText.DataField Property

Specifies the field whose value is displayed by the database text control.

Pascal
property DataField: WideString;
C++
__property BSTR DataField;

Use DataField to bind the database text control to a field in the dataset. To fully specify a database field, both the dataset and the field within that dataset must be defined. The DataSource property of the control specifies the dataset that contains the DataField.

DBText1.DataField := 'Company';

 

DBText1->DataField = "Company";

 

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