Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Calculating A Total From A Form or Table

Posted on 2004-09-02
2
Medium Priority
?
308 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
[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 Comments
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 80 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

670 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