MS Access DATABASE and combobox in VB6.0

5 pts.
Tags:
Access Database
ComboBox
Microsoft Access
VB 6.0
Visual Basic
hellooo
plz i need helpĀ 
i am new to VB6.0 and i've learned alot
now i have a database in MS Access
and i want to create a combobox named (Combo1) that will be populated from the field (Name) in table (Customer) in the database (weighbridge.mdb) and then when i choose a name in the combobox i want it to populate other 3 text boxes named (text1, text2, text3) with the fields ( Address, Email, Telephone) respectively
i am totally new in DATABASE with VB6.0
so please provide me with everything i need to do in VB i prefer using ADO control not programming if possible and please tell me how to connect to that database and where to please any provided piece of code
thank u very very much in advance


Software/Hardware used:
Visual Basic 6.0
ASKED: June 23, 2010  8:01 AM
UPDATED: June 23, 2010  1:06 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

‘Use this code
On Error Resume Next
Do While Not Form6.Adodc1.Recordset.EOF = True
Combo1.AddItem Form6.Adodc1.Recordset.Fields(“REF_ID”)
Adodc1.Recordset.MoveNext
Loop
‘End If

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following