Sum a Field in a Access 2003 report

G

Guest

I have created a Report, based on a Query, by hand and I added a sum box to
the detail section and to the footer using a text box with the following code,
=Sum([purchase price]),
1) While the code works in the detail section it gives a grand total for the
whole document instead of just the a small set of records.
2) The code does not work in the footer at all.

I created a Report using the wizard and the,
=Sum([purchase price]),
in a text box in both the detail and footer sections work with the
individual sums in the detail just giving sub totals and the footer sum
giving a report grand total.

What am I missing?
 
D

Duane Hookom

I expect that you have placed the Sum() in the page footer rather than the
report footer. To get sums of groups, you must have groups defined in your
sorting and grouping dialog.
 

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