Solved

Calculating A Total From A Form or Table

Posted on 2004-09-02
2
295 Views
Last Modified: 2012-06-27
hi

i have a database to keep record of invoices, and on one of my forms, their is the control [Invoice Total]. in my form i have hundereds of records (invoices). is there a way i can create something in my database that will show me the total of all the invoice totals?

help would be appreciated.

thanks
0
Comment
Question by:Garretty
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 20 total points
ID: 11963387
You can set the .ControlSource of a control to something like this:

=DSum("[Invoice Total]", "YourINvoiceTable")

DSum also accepts criteria; see online help for more info
0
 
LVL 4

Author Comment

by:Garretty
ID: 11963430
WORKS PERFECT!!

thanks LSMConsulting
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

895 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

14 Experts available now in Live!

Get 1:1 Help Now