HOWTO: Use Bound Controls with an ADO Recordset
Article ID: 190371
Article Last Modified on 3/2/2005
APPLIES TO
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
This article was previously published under Q190371
SUMMARY
If you want to use a bound ListBox, ComboBox, or Grid control with an
ActiveX Data Objects (ADO) recordset, then use the DataList, DataCombo, or
DataGrid control instead of the DBList, DBCombo, or DBGrid control. If you
try to use DBList, DBCombo, or DBGrid, you get the following error message
when trying to set the RowSource for either the DBList or the DBCombo, or
the DataSource for the DBGrid:
No Compatible DataSource was found for this control. Please add
an intrinsic DataControl or a Remote DataControl to the form.
Additional query words: kbdse
Keywords: kberrmsg kbhowto kbctrl kbcode KB190371