ComponentOne List 8.0 for ActiveX
DataField Property (Column)

 

True DBList Reference> TDBList Properties> DataField Property (Column)

DataField Property (Column)

Data table field name for a column.

Syntax

column.DataField= string

Remarks

Read/Write at run time and design time.

Property applies to Column object.

The DataField property returns or sets the name of the field in the database table to which a list column is bound.

When the DataMode property of the list is set to 0 - Bound, the DataField property is used to bind a column to a particular field in the database table. If the specified field does not exist in the database table, binding does not occur, and the column will be blank at run time.

To specify an unbound column in a bound list, the DataField property must be empty in order for the column data to be requested in the UnboundColumnFetch event.

See Also

Column Object, Columns Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback