RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBEdit.DataSource Property

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

Pascal
property DataSource: TDataSource;
C++
__property TDataSource DataSource;

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

DBEdit1.DataSource := DataSource1;

 

DBEdit1->DataSource = DataSource1;

To allow the check box to represent the data for a field, both the DataSource and the DataField properties must be set. 

 

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