ComponentOne List 8.0 for ActiveX
Bound Mode

The easiest way to use True DBList is in bound mode, in which it communicates directly with an intrinsic or external data source control to retrieve and update data. Visual Basic 6.0 provides a variety of data sources that work with True DBList in this fashion:

You can also use any other data control that adheres to the Microsoft data binding specifications, such as Microsoft's Tabular Data Control (TDC), or ComponentOne's True DBWizard.

To use bound mode, set the DataMode property of the list to 0 - Bound at design time, then set the RowSource property of the list to reference an available data source. This can be an intrinsic or external data control on the same Visual Basic form, or a project-wide data source such as the Data Environment. You do not need to fully configure the data source at design time since True DBList automatically responds to changes in the data source at run time. Therefore, you can defer specifying a database table or query until the application is running.

Unlike other bound controls such as DBGrid, the primary data source for a TDBList or TDBCombo control is specified by the RowSource property, not DataSource.The latter is used for update operations, not for populating the list portion of the control.

 

 


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

Product Support Forum  |  Documentation Feedback