0

Hey guys

im populating a combo box from my database i was just wondering how do i prevent the combo box from displaying different instances of the same value. e.g three B&Bs all from ennis. ennis is in the combobox but its displayed three times.

how do i stop this ??

Thanks

4
Contributors
4
Replies
18
Views
4 Years
Discussion Span
Last Post by Szabi Zsoldos
0

I agree with @pritaeas but off the top of my head, use DISTINCT in your query to only retrieve one instance of the same value.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.