Welcome to Dream.In.Code
Become a VB Expert!

Join 137,232 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,808 people online right now. Registration is fast and FREE... Join Now!




Display items in combo box from an access database field

 
Reply to this topicStart new topic

Display items in combo box from an access database field

fazl3h
12 Mar, 2007 - 06:12 AM
Post #1

New D.I.C Head
*

Joined: 6 Mar, 2007
Posts: 3


My Contributions
Hi, I'm doing a project on Vb.net 2003. My project is based on a summer university. I was wondering how i can link a combo box to the access database to display specific data. for example: i have got a field called Title, where the values can only be "Mr, Ms, Mrs or Miss".
how would i display this information in a combo box.

Thank you for your help any assistance is very much appreciated.

i can send the whole project via email if you want. please suggest any improvements, any advice will be more than welcome. thank you once again
User is offlineProfile CardPM
+Quote Post

KeyWiz
RE: Display Items In Combo Box From An Access Database Field
14 Mar, 2007 - 01:42 AM
Post #2

D.I.C Regular
Group Icon

Joined: 26 Oct, 2006
Posts: 428


Dream Kudos: 125
My Contributions
CODE

with myRecordset
    while (not EOF)
        Combo.AddItem myValue
        .movenext
    wend
end with


This post has been edited by KeyWiz: 14 Mar, 2007 - 01:43 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 03:32PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month