|
-
Dec 8th, 2008, 04:16 PM
#1
Thread Starter
PowerPoster
witrh ADO populate combobox with unique vale in table
Have a mdb mymdb.mdb in c:\mydir.
In this mdb habe a table mytable
In table have field myfiled
In this field have:
AAAA
AAAA
BBBB
CCCC
CCCC
...
ZZZZ
how to fill with unique value from field the combobox mycombobox.
AAAA
BBBB
CCCC
...
ZZZZ
-
Dec 8th, 2008, 04:47 PM
#2
Re: witrh ADO populate combobox with unique vale in table
Thread moved to Database Development forum (the "VB6" forum is meant for questions which don't fit in more specific forums)
There is an article in the Database FAQs about using ADO to fill a combobox, simply add the keyword DISTINCT to your SQL statement that gets the data.
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
|