Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Problems with AlwaysIncludeInCube
 

Problems with AlwaysIncludeInCube

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?

JayOkay  Sunday, March 25, 2007 12:27 PM
You can find the example and reference from the document C:\Program Files\Common Files\Microsoft Shared\Web Components\10\1033\OWCDCH10.CHM after you installed OWC10
Zhi-Xin Ye  Thursday, March 29, 2007 9:55 AM
You can find the example and reference from the document C:\Program Files\Common Files\Microsoft Shared\Web Components\10\1033\OWCDCH10.CHM after you installed OWC10
Zhi-Xin Ye  Thursday, March 29, 2007 9:55 AM

You can use google to search for other answers

Custom Search

More Threads

• Databinding a lookup column in DataGridView
• Collection of business objects implementing IEditableObject and "ReadOnly" DataGrid
• Properties don't appear in Data Source Configuration Wizard
• Handling linefeeds and tabs in a "DataGridViewTextBoxColumn"
• DataGridView data editting
• How to disable a DataGridViewRow? Need user selected rows to be visible yet disabled and darkened.
• DataGridView
• Can I show icons in the combobox (for every item in it).
• Problems with reloading data from database using gridview
• ComboBox DragDrop Issue