RAD Studio VCL Reference
|
Specifies the field from which the edit control displays data.
property DataField: WideString;
__property BSTR DataField;
Set DataField to the field name of the field component that the check box represents:
DBEdit1.DataField := 'Company';
DBEdit1->DataField = "Company";
Access by the TDBEdit to the dataset in which the field is located is provided by a TDataSource component, specified in the DataSource property.
If the DataField refers to a database field that contains integer or floating-point data, only characters that are valid in such a field can be entered in the edit box. Characters that are not legal are not accepted.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|