Sum of calculated field

S

SteveP

I have 3 columns on a report - UnitCost, Quantity, and Credit (calculated on
the report as "=[UnitCost]*[Quantity]"). What I am trying to do is add a
text box in the report footer that gives me a total of the "Credit" field.
Could some one please help me with this. Thanks in advance for any help.

SteveP
 
M

Marshall Barton

SteveP said:
I have 3 columns on a report - UnitCost, Quantity, and Credit (calculated on
the report as "=[UnitCost]*[Quantity]"). What I am trying to do is add a
text box in the report footer that gives me a total of the "Credit" field.
Could some one please help me with this. Thanks in advance for any help.


Since the aggregate functions (Count, Sum, etc) are unaware
of controls, you need to Sum the original expression:
=Sum([UnitCost]*[Quantity])
 
S

SteveP

That worked. Thank you very much.
SteveP

Marshall Barton said:
SteveP said:
I have 3 columns on a report - UnitCost, Quantity, and Credit (calculated on
the report as "=[UnitCost]*[Quantity]"). What I am trying to do is add a
text box in the report footer that gives me a total of the "Credit" field.
Could some one please help me with this. Thanks in advance for any help.


Since the aggregate functions (Count, Sum, etc) are unaware
of controls, you need to Sum the original expression:
=Sum([UnitCost]*[Quantity])
 

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

Top