Solved

Print a filtered report MS Access

Posted on 2013-05-20
2
557 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
[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 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

628 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