Order By Date in Access SQL [Resolved]
VB Code:
SELECT *
FROM [Cell Equipment Complete]
WHERE ((([Cell Equipment Complete].DATE_DUE) Between #1/1/2004# And #1/31/2004#))
ORDER BY [Cell Equipment Complete].DATE_DUE;
I'm trying to order entries by their date but Access doesn't want to do it on a report. I can do it if I just run the query, but when I go to use a report with the same query, it doesn't put them in date order.
:confused:
Re: Order By Date in Access SQL
Quote:
Originally posted by ober5861
VB Code:
SELECT *
FROM [Cell Equipment Complete]
WHERE ((([Cell Equipment Complete].DATE_DUE) Between #1/1/2004# And #1/31/2004#))
ORDER BY [Cell Equipment Complete].DATE_DUE;
I'm trying to order entries by their date but Access doesn't want to do it on a report. I can do it if I just run the query, but when I go to use a report with the same query, it doesn't put them in date order.
:confused:
Have you solved this?
Re: Re: Order By Date in Access SQL
Quote:
Originally posted by jhermiz
Have you solved this?
No, like I said, if I just double-click the query, the results come back ordered. But when I run the query through a report (after a user clicks on a button on a form), it doesn't work (the results are not ordered).