|
-
May 15th, 2000, 08:22 PM
#1
Thread Starter
Lively Member
Hi,
I want to place a list/combo box on a form to look up a column in my database.
However the column contains multiple duplicates and I don't want to be able to see these.
I only want to be able to see any individual value once.
If it is repeated in the database then I don't want to be able to see the duplicate(s).
Someone told me how to do this once before but I can't remember how it's done.
Can anybody help?
Best Regards,
Rob Brown.
-
May 15th, 2000, 08:25 PM
#2
Fanatic Member
Hi Rob
Is your Box bound to a control source or are you Using A SQL statement for the row source?
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
May 15th, 2000, 08:33 PM
#3
Thread Starter
Lively Member
I haven't created it yet so I suppose it doesn't really matter.
Which way is easier?
-
May 15th, 2000, 08:39 PM
#4
Fanatic Member
If you Set the row source to "SELECT DISTINCT * FROM tbltest", providing you have a Primary key set up, it will return just One occurance of the record. You can do the same also with a control source. Instead of linking it straight to the table make it the same as above. Either way it does the job.
Hope This helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
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
|