D
David Portwood
I have two fields: Category and NumberOfContracts. Category takes 3 values,
call them A, B, and C. For each record there are a number of Contracts
associated with the choice of Category. So my records look like:
Category NumberOfContracts
B 3
A 1
B 2
C 5
C 3
There are other fields as well, of course.
What I want is to sum the number of contracts for each Category. I want to
generate a report that looks something like:
Count of All Contracts: 14 Total of A: 1 Total of B: 5 Total of C: 8
Can I do this using a query or do I have to open a recordset and count
record-by-record?
call them A, B, and C. For each record there are a number of Contracts
associated with the choice of Category. So my records look like:
Category NumberOfContracts
B 3
A 1
B 2
C 5
C 3
There are other fields as well, of course.
What I want is to sum the number of contracts for each Category. I want to
generate a report that looks something like:
Count of All Contracts: 14 Total of A: 1 Total of B: 5 Total of C: 8
Can I do this using a query or do I have to open a recordset and count
record-by-record?