Returns the member IDs of the selected members on a given dimension’s tab when the tab is configured for multi-select mode. For the Entity dimension, GetCheckedItems also returns the member IDs of the selected members’ parents.
To return a count of the selected check boxes for a dimension, use GetNumCheckedItems. If a tab is configured for single-select mode, get the selected member with GetMember. |
<HsvPOVSelection>.GetCheckedItems lDim, pvaralItemIDs, pvaralParentIDs
Long (ByVal). The ID of the dimension. Dimension IDs are represented by the HFMConstants type library constants listed in Dimension ID Constants. | |
Variant. Returns an array of member IDs for the selected members. The array items are Longs. | |
Variant. For the Entity dimension, returns an array of member IDs for the parents of the selected members. The array has a one-to-one correspondence with the pvaralItemIDs argument’s array. The array items are Longs. If an Entity member has no parent, the HFMConstants type library constant MEMBERNOTUSED is returned. For information on this constant, see Dimension Member Constants. For the other dimensions, this argument returns an empty Variant. |
GetCheckedItems is used in the example for the HsvStarSchemaACM method CreateStarSchema.