I would use the following example SQL statement:
[tt]
SELECT Format(YourDateField,'m/yyyy'), SUM(AFieldToSummarize)
FROM YourTable
GROUP BY Format(YourDateField,'m/yyyy')
[/tt]
or if you prefer using fields that aren't overloaded...
[tt]
SELECT Month(YourDateField), Year(YourDateField), SUM(AFieldToSummarize)
FROM YourTable
GROUP BY Month(YourDateField), Year(YourDateField)
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.