Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box
Message
From
13/04/1998 07:24:56
 
 
To
13/04/1998 01:47:15
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00091447
Message ID:
00091466
Views:
19
>How can I populate the combo box with records from a table created in MS Access?

With the regular combobox, you must do it manually.
Loop the recordset and use the AddItem method of the combo to populate it.

You can also use the DBCombo control.
Set the RowSource property to a data control.
Set the ListRow property to the field you want to be displayed.
You can also bound the text portion to your main data control with DataSource & DataField.
The BoundColumn property will set the field of the second data control to be saved in the 1st.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Reply
Map
View

Click here to load this message in the networking platform