RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCheckBox.DataField Property

Identifies the field from which the data-aware control displays data.

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

Set DataField to the field name of the field component that the check box represents. Access by the TDBCheckBox to the dataset in which the field is located is provided by a TDataSource component, specified in the DataSource property.

DBCheckBox1.DataField := 'HasPaid';

 

DBCheckBox1->DataField = "HasPaid";

 

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