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
Solved

Using Sum in Report of Access 97

Posted on 1999-01-13
1
361 Views
Last Modified: 2012-05-05
Dear All Expert;
  I have a problem to ask you...Now I am developing application about Tax.
It is Tax from every product and many group of product.
Example :
Can I design Report to find Average of Tax of each group of product ?
Structure :
Group A Have product 1,2,3,4
Group B Have Product 5,6,7,8

Beside Tax from each product , Can I find average Tax from Tax of each product
group ?
=====================================
When I do myself., I create Tax of each product group as Calculated Field in
Product Group Footer. But I can not take Tax of each product group from Product
Group Footer to find Average Tax of all group..( Average Tax of GroupA and
GroupB )

Please answer me...

Thank in advance
0
Comment
Question by:u3520384
1 Comment
 
LVL 7

Accepted Solution

by:
Dedushka earned 100 total points
ID: 1973419
Hi, u3520384!

>I create Tax of each product group as Calculated Field in
Product Group Footer

Assume in your report based on table Product(ProductId, ProductName, ProductGroup, Tax) you have calculated field txtAvgForEachGroup and its ControlSource = Avg([Tax]).

Resolution.
-----------
1. Place on Product Group Footer invisible text box txtAutoNo, set its ControlSource "=1" and Running Sum to "Over All".
2. Place on Product Group Footer invisible text box txtRunningAvg, set its ControlSource "=[txtAvgForEachGroup] and Running Sum to "Over All".
3. Place on Report Footer text box txtAvgForAllGroups and set its ControlSource to "=[txtRunningAvg]/[txtAutoNo].

Cheers.
Dedushka
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
update access form field from 5 other form fields 1 15
VBA modules import 4 57
Error can't find table ?? 5 24
Error 13 when checking Boolean statement 14 28
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…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
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…

839 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