?
Solved

Sum and Dlookup

Posted on 2015-01-22
3
Medium Priority
?
155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

800 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