I have the following query that returns a count based on activity dates by the month:
SELECT Count(tblLearningCenterClientActivities.StudentID) AS [Total Students], Format(Month([ActivityDate]),"mmmm") AS [Month of Activity]
FROM tblLearningCenterClientActivities
WHERE (((tblLearningCenterClientActivities.ActivityDate)>#1/1/2011#))
GROUP BY Format(Month([ActivityDate]),"mmmm"), tblLearningCenterClientActivities.LearningCenterID
HAVING (((tblLearningCenterClientActivities.LearningCenterID)=1));
But it only returning a count in January even though I know there are activities in feburary. Confused!!!
Thanks
Art Lorenzini
Sioux falls
__._,_.___
.
__,_._,___
Tidak ada komentar:
Posting Komentar