Solved

Using Sum in Report of Access 97

Posted on 1999-01-13
1
334 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

759 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

16 Experts available now in Live!

Get 1:1 Help Now