I'm trying to fill a listbox with a list of mm/dd formatted dates.
This is my try :
I'm receiving this error:
ORDER BY clause (Delivery) conflicts with DISTINCT
How can I sort this query.
Note: I will built the sql and use something like:
Thanks for your advice.[/code]
This is my try :
SQL:
SELECT DISTINCT Format([Delivery],"mm/dd") AS AD
FROM tblOrders WHERE Delivery Is Not Null AND Deleted=False
ORDER BY Delivery ASC;
I'm receiving this error:
ORDER BY clause (Delivery) conflicts with DISTINCT
How can I sort this query.
Note: I will built the sql and use something like:
MyListBox.RowSource=sql
Thanks for your advice.[/code]