G
Guest
Hiya
I want to poulate a combobox with a list of names... however I want the top of the list to be "All Users" - I can get the union to work fine, but it will always sort the data so that anyone who's name is before "All Users" (eg Ahmed) will always be higher on the list than "All Users"
Is there a way that I can exclude the first part of the union from the sorting? This is my current code
SELECT "All Users" FROM tblUsers UNION SELECT DISTINCT tblUsers.UserName FROM tblUsers
Many thanks
MK
I want to poulate a combobox with a list of names... however I want the top of the list to be "All Users" - I can get the union to work fine, but it will always sort the data so that anyone who's name is before "All Users" (eg Ahmed) will always be higher on the list than "All Users"
Is there a way that I can exclude the first part of the union from the sorting? This is my current code
SELECT "All Users" FROM tblUsers UNION SELECT DISTINCT tblUsers.UserName FROM tblUsers
Many thanks
MK