C
C.W.
Is there a way to retrieve data saved with pivot table (of course the data
comes from external oledb/odbc data source). The pivotcache.RecordSet object
unfortunately is not accessible (error 1004), and hence I need another way
to access the underlying data.
One way I have managed to get it working is to move all of the pivotfields
to page level, and iterate through all possible combinations. At the data
field level, I would include a record count field. By examining
DataBodyRange.Value, I can determine whether page level pivot value
combinations are valid. Now this is an extremely clumsy way and slow way of
retrieving underlying data. Is there a cleaner way of doing it?
Thanks in advance
comes from external oledb/odbc data source). The pivotcache.RecordSet object
unfortunately is not accessible (error 1004), and hence I need another way
to access the underlying data.
One way I have managed to get it working is to move all of the pivotfields
to page level, and iterate through all possible combinations. At the data
field level, I would include a record count field. By examining
DataBodyRange.Value, I can determine whether page level pivot value
combinations are valid. Now this is an extremely clumsy way and slow way of
retrieving underlying data. Is there a cleaner way of doing it?
Thanks in advance