troubleshooting Question

Summing in a report - Dsum not working like I expect

Avatar of pdvsa
pdvsaFlag for United States of America asked on
Microsoft Access
9 Comments1 Solution38 ViewsLast Modified:
Experts, I have a report and I need to sum in the footer and I have the following formula:
=Format(DSum("Amount","qryPaymentsSumCo","BankID=" & [tblBanks.COID] & ""),"Currency")

But what the field on the report returns is something totally different than what the query returns.  I think it has something to do with how Dsum works.  I don’t think a simple Sum will work though.  How can I simply sum?  Please see the attached pared down db and open the only report.  The field is shaded red (pic below) and it is suppose to sum the records above but I cant get it to sum those records so I developed another query qryPaymentsSumCo as a work around and using the above Dsum but its not summing.  I think it much easier to view the attached db.  

Thank you very much
Attached:  db


sumEE_Sum.accdb
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros