Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Totals in Report Footer
Henry Sanchez 
    
2 years ago
Hello,

I am making a bill / report grouped by an account no that shows how many shares a stock certificate has per account and then totals the shares and a fee per share as a billed amount. I am trying to get the totals to display at the bottom of the page but my calculations errors out on the page footer. It works in the group footer but does not reach the bottom of the page for every person. The reports data source is just 1 master table.
Henry Sanchez OP  @Reply  
    
2 years ago
images to see how the report looks.
Henry Sanchez OP  @Reply  
    
2 years ago

Henry Sanchez OP  @Reply  
    
2 years ago

Henry Sanchez OP  @Reply  
    
2 years ago

John Davy  @Reply  
         
2 years ago
Hi Henry
Take a look at Richards video Grouping and also his video Expert 12. I think they will help.
John
Kevin Yip  @Reply  
     
2 years ago
If you use Sum() in the page footer, that is the reason for the error, because page footers cannot have anything that uses aggregate functions like Sum() or Count().  Only groups are allowed to use them, and that is why it works in your group footer, but not elsewhere.  Sum() needs to know what you are summing, and it only knows that if you put it at the end of a group, such as a group footer or a report footer (a report in its entirety is considered a "group" too).  A similar thing occurs in a query, where Sum() needs to know what you GROUP BY in order to know what needs to be summed.

To show the summed value in the page footer, change the control source from =Sum([field1]) to =[Name of textbox that uses Sum() in the Detail section].
Henry Sanchez OP  @Reply  
    
2 years ago
Thank you John. I reviewed expert 12 lesson 5 and was just about to reply saying aggregate functions are not allowed so how do I get it to populate on the footer. Then I see Kevin's comment. Thank you both for the help. I tried it and it works!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 10:11:26 AM. PLT: 1s