ComponentOne List 8.0 for ActiveX
BoundColumn Property

 

True DBList Reference> TDBList Properties> BoundColumn Property

BoundColumn Property

This property returns or sets the name of the source field in a Recordset (Data control) object that is used to supply a data value to another Recordset (Data control).

Syntax

object.BoundColumn= value

Remarks

Read/Write at run time and design time.

Property applies to TDBList and TDBCombo controls.

Generally, you will use the TDBList and TDBCombo controls with two Data controls: one to fill the list as designated by the RowSource property, and one to update a field in a database as designated by the DataSource and DataField properties.

When the user selects an item from a TDBList control or the list portion of a TDBCombo control, the BoundColumn property determines which RowSource field supplies the data value to be used for the update.  You can use the following pseudo-code to help you remember how to configure a list or combo control at design time:

DataSource.DataField = RowSource.BoundColumn

The left side of the assignment statement specifies the field to be updated; the right side specifies the set of allowable values.

Note: Do not confuse the BoundColumn property with the ListField property used to specify the incremental search field.

See Also

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback