Returns the member IDs of a subcube’s dimension members, given the subcube’s index.
Syntax
<HsvMDDataBufferLite>.GetCubePOVFromIndex lCubeIndex, plScenario, plYear, plEntity, plParent, plValue
Argument | Description |
---|
lCubeIndex | Long (ByVal). The index of the subcube. You can use BeginEnumeration to return the number of subcubes in an HsvMDDataBufferLite object. |
plScenario | Long. Returns the member ID of the subcube’s Scenario dimension member. |
plYear | Long. Returns the member ID of the subcube’s Year dimension member. |
plEntity | Long. Returns the member ID of the subcube’s Entity dimension member. |
plParent | Long. Returns the member ID of the plEntity argument’s parent entity. |
plValue | Long. Returns the member ID of the subcube’s Value dimension member. |
Example
The following example shows how to get the member IDs of the subcubes in an HsvMDDataBufferLite object. BeginEnumeration returns the number of subcubes in the object. For each subcube, GetCubePOVFromIndex returns the member IDs. To use the member IDs in the loop, replace the ellipsis (...) with code.