PRB: Resetting the DataCombo RowSource Property Resets the BoundColumn Property (238406)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP5
This article was previously published under Q238406 SYMPTOMS
When you programmatically reset the RowSource property of a Visual Basic 6.0 DataCombo or DataList control, the BoundColumn property is reset so that it is the same as the ListField property. As a result, incorrect data may be inserted into the Data Source record.
RESOLUTION
To resolve this problem, explicitly set the DataCombo's BoundColumn property to the correct field name. Then, assign the DataCombo's Text property back to itself (that is, set the Text property equal to the Text property).
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbCtrl kbDataBinding kbprb KB238406 |
---|
|