sum a group of fields in the report

G

Guest

I am having a problem with totalling the "Extended Price" field by Invoice in
the Report. The total should appear only at the end of the group of products
for one invoice, but it appears after each product line.

I created the Invoice Header with the Detail, and put the text box with the
formula (=sum([ExtendedPrice]) in the Invoice Footer. It still doesn't work.

Does anybody know the solution to this problem?

Thank you!
 
D

Duane Hookom

You should be able to total in any Group or Report Header or Footer section.
You can total fields or expressions from your report's record source. You
can't total a control from a different section.

If ExtendedPrice is the name of a control, your Sum() will not work. You may
be able to Sum() the control source of a text box:
=Sum([Quantity] * [UnitPrice] * (1-[Discount]))
 

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