|
-
Sep 11th, 2000, 02:39 PM
#1
Thread Starter
Hyperactive Member
Hi,
I have an access db with a table hotels and want to fill a combo box with all the UNIQUE states in that table.
The table has many hotels in the same state!!
I tried ..
ssql = "select unique (states) as states from hotels"
but I get the error "undefined function 'unique' in expresion"
Can someone please tell me how this is done!!
Thank you.
-
Sep 11th, 2000, 05:19 PM
#2
Frenzied Member
Try "distinct" in place of "unique".
-
Sep 12th, 2000, 12:43 AM
#3
Thread Starter
Hyperactive Member
Thanks you,
"distinct" works!!!
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
|