Here's my query that returns what I need. This query sorts the tblContribution.Type in ascending order:
PARAMETERS [Forms]![YearlyReport]![Start] DateTime, [Forms]![YearlyReport]![Start] DateTime;
TRANSFORM Sum(tblContribution.Amnt) AS AmntOfSum
SELECT tblContribution.Type, Sum(tblContribution.Amnt) AS Total
FROM tblContribution
WHERE (((tblContribution.Date)>=[Forms]![YearlyReport]![Start] And (tblContribution.Date)<=[Forms]![YearlyReport]![Start]))
GROUP BY tblContribution.Type
PIVOT Format([Date],"mm") In ("12","01","02","03","04","05","06","07","08","09","10","11");
Let say that the values of tblContribution.Type is A through Z, and I want the order to be B, C, Z, H, Q, ...
Is there a way to format the tblContribution.Type the way I want?
PARAMETERS [Forms]![YearlyReport]![Start] DateTime, [Forms]![YearlyReport]![Start] DateTime;
TRANSFORM Sum(tblContribution.Amnt) AS AmntOfSum
SELECT tblContribution.Type, Sum(tblContribution.Amnt) AS Total
FROM tblContribution
WHERE (((tblContribution.Date)>=[Forms]![YearlyReport]![Start] And (tblContribution.Date)<=[Forms]![YearlyReport]![Start]))
GROUP BY tblContribution.Type
PIVOT Format([Date],"mm") In ("12","01","02","03","04","05","06","07","08","09","10","11");
Let say that the values of tblContribution.Type is A through Z, and I want the order to be B, C, Z, H, Q, ...
Is there a way to format the tblContribution.Type the way I want?