[Last Call] Learn how to a build a cloud-first strategyRegister Now


access- Dsum function to view  total amount

Posted on 2012-08-15
Medium Priority
Last Modified: 2012-08-16
I have an access form which have this dsum function below, this is work perfectly

=DSum("Amount","invoice","[customer]='" & [Customer] & "'")

But I'm thinking to add another criteria as below, but the one below is wrong argument, anyone know what to fix here ?

=DSum("Amount","invoice","[customer]='" & [Customer] AND "[paidcode]='" & [paidcode] & "'")
Question by:motioneye
1 Comment
LVL 29

Accepted Solution

IrogSinta earned 2000 total points
ID: 38299203
Try this:
=DSum("Amount","invoice","[customer]='" & [Customer] & "' AND [paidcode]='" & [paidcode] & "'")

Open in new window


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…
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.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

830 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