R
Rachel Garrett
I would like to be able to group dates by month in my crosstab query,
without losing the date values. I am going to need to export this
query to Excel to do additional data processing and graphs. So I need
the month labels to actually represent dates, not strings of text.
What I have right now makes the data *look* like I want it to look,
but of course it will only alphabetize, not put in date order. In the
past, I used TO_DATE in Oracle SQL to get things the way I wanted, but
it doesn't seem to exist in Access SQL. Is there a workaround for
this?
TRANSFORM Max(Query_for_All_Assessments.[Assessed Score]) AS
[MaxOfAssessed Score]
SELECT Query_for_All_Assessments.[Question name],
Max(Query_for_All_Assessments.[Assessed Score]) AS [Total Of Assessed
Score]
FROM Query_for_All_Assessments
GROUP BY Query_for_All_Assessments.[Question name]
ORDER BY Format([Assessment date],"mmm yyyy")
PIVOT Format([Assessment date],"mmm yyyy");
Thank you!
Rachel Garrett
without losing the date values. I am going to need to export this
query to Excel to do additional data processing and graphs. So I need
the month labels to actually represent dates, not strings of text.
What I have right now makes the data *look* like I want it to look,
but of course it will only alphabetize, not put in date order. In the
past, I used TO_DATE in Oracle SQL to get things the way I wanted, but
it doesn't seem to exist in Access SQL. Is there a workaround for
this?
TRANSFORM Max(Query_for_All_Assessments.[Assessed Score]) AS
[MaxOfAssessed Score]
SELECT Query_for_All_Assessments.[Question name],
Max(Query_for_All_Assessments.[Assessed Score]) AS [Total Of Assessed
Score]
FROM Query_for_All_Assessments
GROUP BY Query_for_All_Assessments.[Question name]
ORDER BY Format([Assessment date],"mmm yyyy")
PIVOT Format([Assessment date],"mmm yyyy");
Thank you!
Rachel Garrett