Sum when field changes

wasvsdal

New member
Local time
Today, 15:46
Joined
Nov 3, 2009
Messages
6
Hi,

I have a database where I need to sum one field, when a certain field changes. Please see example below:

A B
1 Redskins
2 Redskins
3 Cowboys

I want to be able to sum at the point when Redskins changes to Cowboys, and show that A=3. Then likewise for Cowboys, ..., etc.

How can I do this in MS Access 2003? Thank you!
 
select the items in a query, change it to a totals query

look at the totalling options - max/sum/count etc - you sohuld find what you want
 
My goodness...I feel so dumb right now. I shouldve thought of that myself. But wow thank you so much, that was very helpful.
 

Users who are viewing this thread

Back
Top Bottom