Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Report Anomaly...
Mike Ackland 
       
2 months ago
Hello guys. I have a report which you'll see in both Print Preview and Design view.
Simply put, I want a Total of All Purchase Orders on a Statement, at the summary part below the details. BUT... The total amount shown is incorrect.

In Design view, Each Purchase Order total is [ActCost] and to get the Total of all Purchase Orders at the bottom is =Nz(Sum([ActCost]),0).

Now for some reason it's totalling the top one twice and adding the bottom one to come up with a total way out of range.

I've been at this for a couple of days, and even renewed the Report, but I'm getting the same results.

Does anything obvious stand out? Because if it does I can't see it.

However, if I do a Count of ActCost and just view it in a textbox, it says 3,  not the 2 on the Report.

What have I done?
Mike Ackland OP  @Reply  
       
2 months ago

Mike Ackland OP  @Reply  
       
2 months ago

Donald Blackwell  @Reply  
       
2 months ago
I would verify the source of your report. Make sure none of the joins are causing it to repeat values... Make sure all joins that show are needed and that they aren't creating any Cartesian products.
Mike Ackland OP  @Reply  
       
2 months ago
I’ll add a third payment and see what it’s doing.
Mike Ackland OP  @Reply  
       
2 months ago
Thanks Donald. You was absolutely right. The [ActCost] was duplicating each time a payment was made. So I made the query the other way round and now works perfectly.

Donald Blackwell  @Reply  
       
2 months ago
Always something crazy right :) happy to help

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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: 8/7/2026 3:36:33 PM. PLT: 1s