DataField property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

System::AnsiString DataField

Delphi Syntax

DataField: String

Overview

Refer to Using a Data Source.

Remarks

(Persistent property, available at design time) Binds the Main Control to a database field.

The DataSource property of a bound Main Control specifies a valid data source control name, and the DataField property specifies a valid field name in the data control's DataSet property. Together, these properties specify which bitmap appears in the Main Control.

See Also

Topics:

Databases: Data Binding