?
Solved

How to include a total on Access Report

Posted on 2011-02-18
2
Medium Priority
?
323 Views
Last Modified: 2012-08-14
Hello,

I need to display a calculated value on a report that divides two fiels that are totals.  For example:

Total Age:  4      Total Count:  100
Averge Age:      25

Both the Age and Count are totals and need to divide these. How can I do this on an Access Report?
0
Comment
Question by:gtrapp
[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 28

Accepted Solution

by:
omgang earned 1000 total points
ID: 34930097
So, if the ControlSource for TotalAge =Sum([Age])
and the ControlSource for TotalCount = Sum([Count])

you could do this
AverageAge =Sum([Count])/Sum([Age])

OM Gang
0
 
LVL 44

Assisted Solution

by:GRayL
GRayL earned 1000 total points
ID: 34930102
If both of those values appear somewhere on your form they are probably  in textboxes  create a third textbox beside those two and in the control source type:

=txtTotCount/txtTotAge

use your actual control names in place of txtTotCount and txtTotAge.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

801 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