A
Alex
Following is the SQL for a crosstab query that I use as the record source for
a chart in a report. How can I get actual months as column headings instead
of M0, M1, M2, etc.? If cmdBegin is 1/1/05, I need the first column in the
query to be Jan. 05, not M0. Any help is appreciated. Thank you.
TRANSFORM Max(Super_D1Tots_Q1.[Day 1 Performance]) AS [MaxOfDay 1
Performance]
SELECT Super_D1Tots_Q1.[RCD LOC]
FROM Super_D1Tots_Q1
GROUP BY Super_D1Tots_Q1.[RCD LOC]
PIVOT "M" & DateDiff("m",[forms]![Pick_Super_Chart]![cmdBegin],[NewDate]) In
("M0","M1","M2","M3","M4","M5","M6","M7","M8","M9","M10","M11");
a chart in a report. How can I get actual months as column headings instead
of M0, M1, M2, etc.? If cmdBegin is 1/1/05, I need the first column in the
query to be Jan. 05, not M0. Any help is appreciated. Thank you.
TRANSFORM Max(Super_D1Tots_Q1.[Day 1 Performance]) AS [MaxOfDay 1
Performance]
SELECT Super_D1Tots_Q1.[RCD LOC]
FROM Super_D1Tots_Q1
GROUP BY Super_D1Tots_Q1.[RCD LOC]
PIVOT "M" & DateDiff("m",[forms]![Pick_Super_Chart]![cmdBegin],[NewDate]) In
("M0","M1","M2","M3","M4","M5","M6","M7","M8","M9","M10","M11");