Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default filtered recodset to pivot table (or not)

Thanks Jamie.

Blazingly simple as usual, though I'd still like to know why the filters
aren't maintained when the RS is passed to the pivot.

Robin Hammond
www.enhanceddatasystems.com


"Jamie Collins" wrote in message
om...
"Robin Hammond" wrote ...

It rather astonishes me that this is the only reliable route I have

found,
but here's a solution to this that very annoyingly creates a new
disconnected recordset and clones every single value across while the

filter
is applied to the original.

I'd still be interested if anyone can think up something better.


Hi Robin,
You can save the filtered recordset to an ADO Stream and open a new
recordset based on stream. Here's some code:

http://www.able-consulting.com/ADO_Faq.htm#Q42

Jamie.

--



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table -Show Q3 and Q4 with non-filtered Total Aldo Excel Discussion (Misc queries) 0 December 28th 09 12:45 PM
How can i get a sum of the data filtered in a pivot table tarabull Excel Discussion (Misc queries) 1 March 26th 09 02:13 PM
Can pivot table column labels be filtered? terri.hirsch Excel Discussion (Misc queries) 1 August 14th 08 04:43 PM
What is filtered in a Pivot Table? Finding out quickly... BenS Excel Discussion (Misc queries) 0 April 3rd 07 01:32 PM
Using Pivot Table to Display Filtered Data Only Dawg House Inc Excel Discussion (Misc queries) 6 February 14th 07 01:03 AM


All times are GMT +1. The time now is 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"