Column Sum in Footer - help?

J

Julie Smith

Hi,
I have created a Tabular report that lists names and weights for different
people. I want to create a stand-alone field in the page footer that will
display the SUM of all the weights on the report. Can somebody please help
me? (I'm using Access 2000 btw)

I have tried creating a text box with the Control Source property set as
"=Sum(weight)". However, this just produces an error.

Thanks in advance.
 
M

Marshall Barton

Julie said:
Hi,
I have created a Tabular report that lists names and weights for different
people. I want to create a stand-alone field in the page footer that will
display the SUM of all the weights on the report. Can somebody please help
me? (I'm using Access 2000 btw)

I have tried creating a text box with the Control Source property set as
"=Sum(weight)". However, this just produces an error.


As long as Weight is a field in the report's record source
table/query, your Sum expression is fine.

The problem is that you can not use aggregate functions in a
page header/footer. Move the text box to the report footer.
 

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

Similar Threads


Top