Im having a problem with SELECT DISTINCT and SORT BY. I want to remove dupliates from a ComboBox, but when I use SELECT DISTINCT it cause problems with the SORT BY.
Is there a fix for this?
Thanks for replying.
Do you mean in the query the combobox is tied to? If so, then I already tried that but it didnt work. If not in the query, then where?
Thanks again
Thanks all for your help. Im not great with Access so sorry if im a bit vague in my replies...
My row source is
SELECT DISTINCT QRY.Type FROM QRY;
Now i just need it to sort (by another field of the query)
Its because you second field need to be in a query try this
first make a query in which sort by that second field on which you want to order by
then make a second query and get distinct value from that first query and dont add any order by clause