K
Kevin
I have the below code in my query and want it to sort by ascending not
descending.
Everytime i change it to Ascending in the design view not the code view
Access encounters an error and must close. can you help me rewrite the code
so it is ascending rather than descending. I do not know code so if you
could provide me a copy and paste code i can handle that.
SELECT Q.FTE_DATE_YM, (SELECT COUNT(*) FROM [qry_AvailableReportingMonths] Q1
WHERE Q1.FTE_DATE_YM > Q.FTE_DATE_YM)+1 AS Rank, "Month_0" & [Rank] AS
Format1, Left([Format1],6) & Right([Format1],2) AS [Month]
FROM qry_AvailableReportingMonths AS Q
ORDER BY Q.FTE_DATE_YM DESC;
descending.
Everytime i change it to Ascending in the design view not the code view
Access encounters an error and must close. can you help me rewrite the code
so it is ascending rather than descending. I do not know code so if you
could provide me a copy and paste code i can handle that.
SELECT Q.FTE_DATE_YM, (SELECT COUNT(*) FROM [qry_AvailableReportingMonths] Q1
WHERE Q1.FTE_DATE_YM > Q.FTE_DATE_YM)+1 AS Rank, "Month_0" & [Rank] AS
Format1, Left([Format1],6) & Right([Format1],2) AS [Month]
FROM qry_AvailableReportingMonths AS Q
ORDER BY Q.FTE_DATE_YM DESC;