SetMember

Selects a member label on a given dimension’s tab when the tab is configured for single-select mode.

Note:

In tabs configured for multi-select mode, SetMember does not select the specified member’s check box. To select check boxes, use SetCheckedItems.

To get the member ID of a dimension’s currently selected member label, use GetMember.

Syntax

<HsvPOVSelection>.SetMember lDim, lItemID, lParentID

Argument

Description

lDim

Long (ByVal). The ID of the dimension. Dimension IDs are represented by the HFMConstants type library constants listed in Dimension ID Constants.

lItemID

Long (ByVal). The member ID of the member to be selected.

lParentID

Long (ByVal). For the Entity dimension, the member ID of the lItemID argument’s parent. This argument is ignored for dimensions other than Entity. However, you must pass a valid Long.