Can I count multiple items in one field?

webmagic

Registered User.
Local time
Yesterday, 20:13
Joined
Jul 18, 2008
Messages
61
Hello,
I think maybe there is a flaw in my design, so any help or suggestions would be appreciated.

I have a table which has the fields name, productivity, grade. The grade is based on a formula and is A,B,C, D. These grades are given the time the query is ran. Is there a way I can Add how many A's, B's etc. a person has? Should I have done this another way?

Thank in advance for any help.
 
I'm including a subquery for this example, but you could use a saved query instead:

Code:
SELECT NAME, GRADE, COUNT(GRADE) AS CNT
FROM (
    SELECT NAME, [INSERT YOUR GRADE CALCULATION HERE] AS GRADE
    FROM YOURTABLE) RS
GROUP BY NAME, GRADE
 
I get an error message stating I have to use the Exists reserved word. When I search i get nothing on how to fix this. Any ideas?

Thank you for your help. I am working in Access 2000 and have just enough experience in Access 2000 to get me in trouble.

Thank you
 

Users who are viewing this thread

Back
Top Bottom