Solved

Using Sum in Report of Access 97

Posted on 1999-01-13
4
249 Views
Last Modified: 2012-08-13
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
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
obregoru earned 100 total points
ID: 1973420
Two ways to do it.

1.  Keep track with global variables.   on the Detail On Print event, keep a tab of the values.  When you get to your footer, fill a blank field with this value (on the Footer On Format event).  

2.  Other alternative.  Use a report footer which has two fields that sum up the two groups, and a third fild that sums those two.  (Hide the first two)
0
 
LVL 7

Expert Comment

by:Dedushka
ID: 1973421
Hi, u3520384!

You post this question 3 times.
Look my answer in others instances of this question.

Dedushka
0
 

Author Comment

by:u3520384
ID: 1973422
Dedushka ;

No...   I press one time..,  But I have 3 times..,  It make my point loss 3
times.. also...  I don't know how to solve this problem and how to delete
the same problem., If you know., please tell me at  u3520384@ksc.th.com

0
 
LVL 7

Expert Comment

by:Dedushka
ID: 1973423
u3520384,
If you want to delete the same problem while its not accepted, you should post a message to "Experts Exchange" section (Customers service at Home page) and ask them to delete questions, you need not.

Thank you for accepting my answers.

Best regars,
Dedushka
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
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…
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.
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…

829 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