Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 3rd, 2014, 11:43 PM
TReimiller TReimiller is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2014
Posts: 2 TReimiller User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 40 sec
Reputation Power: 0
Question Need Help with Pivot Table in Access Report

Does anyone know if a Pivot Table form with Filter Fields can be forced to filter when placed into a subreport?

For example, I have a Pivot Table form with filter fields for:
- Region (i.e. North, South, East, and West)
- Sales Managers within each of those regions

I have made it a subreport in an Access 2010 and linked:
- the Parent report's Region field to
- the Child report's Region field

When I do Print Preview, the report shows multiple pivot tables but the data remains the same on all pivot tables like the filter isn't working.

I'm hoping I don't have to create a separate form for each filtered pivot table I need in the report.

Any ideas?

Reply With Quote
  #2  
Old May 28th, 2016, 11:15 AM
informer informer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2016
Posts: 10 informer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 52 sec
Reputation Power: 0
Hi TReimiller

You add criteria in DoCmd.openform

DoCmd.OpenReport "myReport", acViewReport,, "field1 = '" & value1 & "' AND field2 = '" & value2 & "'"

Don't wrap value with single quote if value is a number type

Docmd.OpenReport(ReportName, View, FilterName{optional}, WhereCondition, WindowMode{optional}, OpenArgs{optional})

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Need Help with Pivot Table in Access Report


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap