Error when selecting an item from the list of a DBCombo Box.
Posted on 1998-09-07
I'm running VB5 with Service Pack 3 applied. I Have a form with a data control on it and a DBComboBox and several text boxes bound to the data control. When I step through the recordset using the data control's buttons everything is fine, all the controls keep in sync. However when I click on the ComboBox and select an item from the list, I get the following error :
Error 3426, This action was cancelled by an associated object.
When I hit the debug button it hightlights the following line :
Data1.Recordset.Bookmark = DBCombo1.SelectedItem
As far as I'm aware the SelectedItem property returns a variant value. Am I using the right property or is there another one which I should use. This also occurs if I use the Sheridan data bound ComboBox.