EhLib
ContentsIndexHome
PreviousUpNext
TDBDateTimeEditEh.DataSource Property

Links the edit control to the dataset that contains the field it represents.

Pascal
property DataSource: TDataSource;

Use DataSource to specify the data source component through which the data from a dataset component is provided to the TCustomDBEditEh: 

 

DBEdit1.DataSource := DataSource1;

 

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!