[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Subtotal a cross tab Access report

Posted on 2013-05-31
4
Medium Priority
?
1,019 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
[X]
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
  • 2
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Dale Fye earned 2000 total points
ID: 39210838
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
ID: 39211394
I will give a that a try. Thanks for the idea.
0
 

Author Comment

by:smolbeck367
ID: 39214600
all set.
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 39214686
Glad that worked out for you.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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…

650 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