Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplication of data in combo box - table source 1

Status
Not open for further replies.

WeekendWarrior

Technical User
Sep 1, 2002
3
US
Haven't dealt with Access in over 3 years now and I'm a little more than rusty.. hoping this'll be a quick fix..

I have a form which contains a combo box. The combo box pulls data from one field of a table. The field isn't a key field so it has several duplications. How do I filter the combo box into not showing the duplicates?

Thanks.
 
SELECT YrTbl.YrField
FROM YrTbl
GROUP BY YrTbl.YrField 'This does the trick
 
I'm sure its not meant to work this way WeekendWarrior- you ask a question, get an answer then GIVE YOURSELF A STAR??
I think the star belongs to hermanlaksko!! lol Nigel
Didn't someone say work is supposed to be fun? They didn't have computers then I guess....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top