?
Solved

Sum and Dlookup

Posted on 2015-01-22
3
Medium Priority
?
160 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:
Simon earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses

621 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