Solved

Using Sum in Report of Access 97

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 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

17 Experts available now in Live!

Get 1:1 Help Now