EhLib
ContentsIndexHome
PreviousUpNext
TCustomDBCheckBoxEh.DataField Property

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

Pascal
property DataField: string;

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. 

 

DBCheckBoxEh1.DataField := 'HasPaid';
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!