Running sum within a group

K

Ky-Thuan

Hi

I have a query which contains scores, assessor's names,
and teamID. I want to get the running sum of the scores
for each team or teamID.

In the query panel, in the SQL view, I used a GROUP BY
clause, but Access doesn't seem to let me GROUP BY only
the teamID, instead, I have to put GROUP BY teamID,
assessor's name, scores, which doesn't do what I want.

I must be able to re-use the running sums elsewhere in a
form. Does anyone know how to do this?

Thanks for your help
 
K

Ky-Thuan

Hi,

Unfortunately, because Access requires that you specify
all columns in the GROUP BY clause, I cannot sum the
scores of each group... even if I put a sum in the desired
field, I get the same value as the score field...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top