Article ID: 189678
Article Last Modified on 10/30/2003
-or-
"To fill the list in a DBCombo or DBList control, you must specify a
Data control in the RowSource property at design time using the
Properties window.
To complete the connection with a field in the Recordset object managed
by the Data control, you must also provide the name of a Field object
in the ListField property."
Datal
-----
DatabaseName: Biblio.mdb
RecordSource: Authors
DBCombo1
---------
DataSource: Data1
DataField: Author
RowSource: Data1
Command1
--------
Caption: Add
In the Click event of Command1, add:
Data1.RecordSet.AddNew
Command2
--------
Caption: Update
In the Click event of Command2 add:
MsgBox DBCombo1.BoundText
Data1.Recordset.Update
DBCombo1
---------
ListField: Author
Now when you run the application and click Add, then Update, you will
notice that the value you typed is displayed in the Msgbox and you
receive no error.
186682 : BUG: DBCombo BoundText Incorrect When Setting Text Property
Additional query words: kbVBp kbVBp500bug KBDSE kbDSupport kbNoKeyWord kbVBp600fix
Keywords: kbbug kbfix KB189678