Duplicates in comboBox

  • Thread starter Thread starter Keith Smith
  • Start date Start date
K

Keith Smith

Is there an easy way to get rid of duplicates in my comboBox? I didn't want
to have to manually write code for this and degrade performance.
 
Is there an easy way to get rid of duplicates in my comboBox? I didn't
want to have to manually write code for this and degrade performance.

Er, at the risk of stating the obvious, by not putting them in there in the
first place... :-)

How are you populating the ComboBox? If it's from a database query, change
the SELECT to SELECT DISTINCT...
 
Is there an easy way to get rid of duplicates in my comboBox? I didn't
Er, at the risk of stating the obvious, by not putting them in there in
the first place... :-)

How are you populating the ComboBox? If it's from a database query, change
the SELECT to SELECT DISTINCT...

Duh! Mark, I should have thought of that!

I'll just change to SELECT DISTINCT. Thanks for your input!
 
Back
Top