Solved

How to include a total on Access Report

Posted on 2011-02-18
2
304 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
2 Comments
 
LVL 28

Accepted Solution

by:
omgang earned 250 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 250 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
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…

820 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