sum total in a query

dragginthru

HMTL & CCS expert
Local time
Today, 11:22
Joined
Sep 21, 2005
Messages
63
I have a query which returns charge_cost (based on course cost, whether it went ahead, if hospitals are eligible for charging etc) which is then used in an existing report.

I want to make another report which simply is:

Total training spend for 2004-2005:
£1276.04

And i just want that to be the SUM of charge_cost.

I cant work out how to do this - i did a new query including charge_cost and then created a new field called total_spend: sum([charge_cost]) but i keep getting the message "You tried to execute a query which does not include the specified expression charge_cost as part of an aggregate function"

I have no idea what this means...
 
You need a totals query. In query design view click the sigma Σ button.
 

Users who are viewing this thread

Back
Top Bottom