G
Guest
I've searched the forum but can't find a similar challenge. I use the
following to drive a report bar chart:
SELECT (Format([DateReceived],"mmm"" '""yy")) AS Expr1,
Sum(qryCompsFacsMonths.TotalComps) AS SumOfTotalComps1
FROM qryCompsFacsMonths
GROUP BY (Format([DateReceived],"mmm"" '""yy")),
(Year([DateReceived])*12+Month([DateReceived])-1)
ORDER BY (Year([DateReceived])*12+Month([DateReceived])-1);
How can I modify this so that the current month displays last (at the right)
and that only 11 previous months display?
Thanks for your help!
following to drive a report bar chart:
SELECT (Format([DateReceived],"mmm"" '""yy")) AS Expr1,
Sum(qryCompsFacsMonths.TotalComps) AS SumOfTotalComps1
FROM qryCompsFacsMonths
GROUP BY (Format([DateReceived],"mmm"" '""yy")),
(Year([DateReceived])*12+Month([DateReceived])-1)
ORDER BY (Year([DateReceived])*12+Month([DateReceived])-1);
How can I modify this so that the current month displays last (at the right)
and that only 11 previous months display?
Thanks for your help!