Solved

Print a filtered report MS Access

Posted on 2013-05-20
2
539 Views
Last Modified: 2013-08-07
I have an MS Access report that has PivotCharts on it. The report opens in report view so I can filter the charts. I added a Macro button to print the report, but when I click it, the filters are removed. How do I make this button print the filtered data?
0
Comment
Question by:bezellvi
  • 2
2 Comments
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 500 total points
ID: 39182676
What I typically do is base the Pivot on a "query"

Then create a system to filter (set the Where Condition) of the query.

This is the same as filtering the Pivot, but it should persist when it is printed.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39182732
Something like this:

Here I have simply demonstrated with a query, since I am unsure how you inserted your pivot chart.

But the principle is the same:...
Set the query criteria, then open the query.
Set the query criteria, then open the report on which it is based.
Database111.mdb
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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

685 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