
VB combo list box and Access Table
Style must be a Drop-down combo.
Also must load the combo with data.. (maybe an obvious suggestion :-)
Load code eg.
Set category = dbase.OpenRecordset("category", dbOpenTable)
category.MoveFirst
cbocategory.Clear
' Load the combo box
Do While Not category.EOF
cbocategory.AddItem category!title
category.MoveNext
Loop
category.Close
Hope this helps,
Rod.
On Fri, 20 Mar 1998 14:04:11 -0600, "Freddie L Richard"
Quote:
>Try your properties, I don't remember which one right now but its in there.
>right click on the combo box and click property
>>Hi all, I have a problem whit VB Combobox....
>>I have a ComboBox in a Form (in VB) and I want to this Combobox give me the
>>list of the Table in DataBase make whit Access.
>>When I click on this ComboBox, Only the first name appear in the choice in
>>the combobox...but I have 10 name in this Table, make with Access...
>>How I can corrige that...?
>>Thank a lot !