Hi there
I have an inserted chart which is running the following SQL crosstab for its results:
PARAMETERS [forms]![dateselect]![month] Text ( 255 ), [forms]![dateselect]![year] Text ( 255 ), [forms]![dateselect]![tomonth] Text ( 255 ), [forms]![dateselect]![toyear] Text ( 255 );
TRANSFORM Sum(ContractQuestLinkAvg2.AvgOfResp) AS SumOfAvgOfResp
SELECT ContractQuestLinkAvg2.[Question Text]
FROM ContractQuestLinkAvg2
GROUP BY ContractQuestLinkAvg2.QuesID, ContractQuestLinkAvg2.[Question Text]
ORDER BY ContractQuestLinkAvg2.QuesID
PIVOT Format([CalcDate],"mmm-yy");
I need the [calcdate] field which is a calculated field using Cdate to display in date order. If I use ascending in the design view it just displays in them in alphabetical order on the legend of the graph. Thanks
I have an inserted chart which is running the following SQL crosstab for its results:
PARAMETERS [forms]![dateselect]![month] Text ( 255 ), [forms]![dateselect]![year] Text ( 255 ), [forms]![dateselect]![tomonth] Text ( 255 ), [forms]![dateselect]![toyear] Text ( 255 );
TRANSFORM Sum(ContractQuestLinkAvg2.AvgOfResp) AS SumOfAvgOfResp
SELECT ContractQuestLinkAvg2.[Question Text]
FROM ContractQuestLinkAvg2
GROUP BY ContractQuestLinkAvg2.QuesID, ContractQuestLinkAvg2.[Question Text]
ORDER BY ContractQuestLinkAvg2.QuesID
PIVOT Format([CalcDate],"mmm-yy");
I need the [calcdate] field which is a calculated field using Cdate to display in date order. If I use ascending in the design view it just displays in them in alphabetical order on the legend of the graph. Thanks