Solved

Subtotal a cross tab Access report

Posted on 2013-05-31
4
935 Views
Last Modified: 2013-06-02
Hi, I am looking for way to add a subtotal row to a cross tab Access report. There are 9 rows on the report currently. This is made up of 8 rows of info and 1 total row. I need to add a subtotal row after the first 3. This report is being created dynamically based on two form inputs. Thanks for the help.
0
Comment
Question by:smolbeck367
  • 2
  • 2
4 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
Comment Utility
Best way to do this is to add a computed column to the cross tab query as a row header.  The computation for this would test the value of the field(s) you are currently using as your role headers and assign a value of 1 to the first three rows and a value of 2 to the other rows.  You can use nested IIF() statements or the Switch function o do the tests.

Then, in the report you group by this column and add a footer to the group.
0
 

Author Comment

by:smolbeck367
Comment Utility
I will give a that a try. Thanks for the idea.
0
 

Author Comment

by:smolbeck367
Comment Utility
all set.
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
Comment Utility
Glad that worked out for you.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

728 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

11 Experts available now in Live!

Get 1:1 Help Now