EhLib
ContentsIndexHome
PreviousUpNext
TDBNumberEditEh.DataField Property

Specifies the field from which the edit control displays data.

Pascal
property DataField: String;

Set DataField to the field name of the field component that the check box represents: 

 

DBEditEh1.DataField := 'Company';

 

Access by the TCustomDBEditEh 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. 

 

If DataField and DataSource properties are empty then the control works in non data-aware mode and writes data in internal variable.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!