VB combo list box and Access Table 
Author Message
 VB combo list box and Access Table

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 !



Thu, 31 Aug 2000 03:00:00 GMT  
 VB combo list box and Access Table

Try your properties, I don't remember which one right now but its in there.
right click on the combo box and click property

Quote:

>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 !



Tue, 05 Sep 2000 03:00:00 GMT  
 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 !



Mon, 11 Sep 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB combo list box and Access table

2. Listing all tables or queries in a list/combo box

3. VB combo list box and Table database

4. Vb Combo list box and Table Data base

5. Limiting Access to Text Boxes, List Boxes and Combo Boxes

6. Use list from excel or access to populate combo/list box

7. VB List Box Versus Access List Box

8. How to list macro names in a combo box or a list box

9. : Can I list tables from a combo box?

10. Automatically placing list of table names in to a combo box

11. Table Listing in Combo Box

12. help listing tables in a combo box

 

 
Powered by phpBB® Forum Software