|
I have a setup with one ChartSpace and one PivotTable from OWC11. The pivottable is connected to an olap cube and the chartspace linked to the pivottable. The problem is that I always want to include the "Country" fieldlist in local cache:
AxPivotTable1.ActiveView.FieldSets("Country").AlwaysIncludeInCube = True
, but this produces an error:
"Error HRESULT E_FAIL has been returned from a call to a COM component."
I have tried to run the line both before and after the FieldSet is loaded. Can anyone help me?
|