S
Steve
Hi all-
I've recently run into a problem and after looking at other entries on
the groups entitled "sorting by month/year" or something to that
effect, i find that i'm still at a loss.
my first problem was changing the 15 or so decimal places i had to just
2 decimal places; i did this and now that i did, my chart is now
sorting alphabetically rather than by the month/year that it was
sorting as before. i'm a little confused as to why it switched when all
i did was just change the format of the SUM.
here is my SQL statement:
SELECT (Format([ldate],"mmm"" '""yy")) AS Expr1,
Sum(Format([levelchg],"Fixed")) AS [Sum]
FROM yearlyChartQ
GROUP BY (Format([ldate],"mmm"" '""yy")),
(Year([ldate])*12+Month([ldate])-1);
thanks in advance for any help!
-steve-
I've recently run into a problem and after looking at other entries on
the groups entitled "sorting by month/year" or something to that
effect, i find that i'm still at a loss.
my first problem was changing the 15 or so decimal places i had to just
2 decimal places; i did this and now that i did, my chart is now
sorting alphabetically rather than by the month/year that it was
sorting as before. i'm a little confused as to why it switched when all
i did was just change the format of the SUM.
here is my SQL statement:
SELECT (Format([ldate],"mmm"" '""yy")) AS Expr1,
Sum(Format([levelchg],"Fixed")) AS [Sum]
FROM yearlyChartQ
GROUP BY (Format([ldate],"mmm"" '""yy")),
(Year([ldate])*12+Month([ldate])-1);
thanks in advance for any help!
-steve-