|
-
Feb 15th, 2001, 01:19 PM
#1
Thread Starter
Addicted Member
Howdy!
I want to put more than one field from a DB in a combo box. I am using the standard combo box control. How do you do it
This example puts the 'pipe sign between, but I want to see seperate fields.
example:
cmb1.clear
Do While Not Adodc1.Recordset.EOF
vntTemp = Trim(Adodc1.Recordset.Fields(0))
vntTemp2 = Trim(Adodc1.Recordset.Fields(1))
cmb1.AddItem (vntTemp & "|" & vntTemp2)
vntTemp = ""
vntTemp2 = ""
Adodc1.Recordset.MoveNext
Loop
Thanx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|