Thank your for taking the time to help me figure out my delima.
I am trying to create a query that will count the number of records entered into an fields.
The table name is: Awards
The field name is: Third Quarter
The items I would like to count from the combo box are: Student Advisor Relations, Student Centric Focus, Student Opportunity Discovery, Student Preparedness, Student Progression
I have tried the following with no luck:
SELECT Sum(IIF([Third Quarter] = "Student Advisor Relations", 1, 0)) AS "Student Advisor Relations:", Sum(IIF([Third Quarter] = "Student Centric Focus", 1, 0)) AS "Student Centric Focus:", Sum(IIF([Third Quarter] = "Student Opportunity Discovery", 1, 0)) AS "Student Opportunity Discovery:", Sum(IIF([Third Quarter] = "Student Preparedness", 1, 0)) AS "Student Preparedness:", Sum(IIF([Third Quarter] = "Student Progression", 1, 0)) AS "Student Progression:";
SELECT [Third Quarter], Count(*) As CountOfAwards
FROM Awards
GROUP BY [Third Quarter]
and
SELECT [Awards].Third Quarter, Count(*) AS [Count]
FROM [Awards]
GROUP BY [Third Quarter].Third Quarter;