Solved

Sum and Dlookup

Posted on 2015-01-22
3
132 Views
Last Modified: 2015-01-22
Experts, I need to sum [Amount] on tblDisbursement_Amounts.  
I have tried to input the word sum but I am off somewhere.

Let me know where to put the word Sum and the parenth

=DLookUp("[Amount]","[tblDisbursement_Amounts]"
0
Comment
Question by:pdvsa
  • 2
3 Comments
 

Author Comment

by:pdvsa
ID: 40565395
I am not sure if Dsum is better?
0
 
LVL 18

Accepted Solution

by:
SimonAdept earned 500 total points
ID: 40565403
Use DSUM instead of DLOOKUP...

=DSUM("[Amount]","[tblDisbursement_Amounts]" )

This link shows the syntax : https://support.office.com/en-ie/article/DSum-Function-08f8450e-3bf6-45e2-936f-386056e61a32

The third argument is optional, if you need to specify criteria.
0
 

Author Closing Comment

by:pdvsa
ID: 40565465
Perfect.  thank you

I added the criteria:
=DSum("[Amount]","[tblDisbursement_Amounts]","[ID_disb]=" & [ID_disb])
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now