EnumMembersInList

Within the EnumMembersInList () subroutine, you use the syntax and functions in this table to define the members of each member list:

Table 22. EnumMembersInList Syntax

Syntax

Description

HS.Dimension = "Element"

Replace Element with the dimension. For example:

If HS.Dimension = "Entity" Then

HS.MemberListID

Specifies the member list unique identifier.

HS.MemberListID = 1

HS.AddEntityToList

HS.AddMemberToList

The member or entity to add to the member list. For Entity lists, use HS.AddEntityToList and list the entity’s parent. For all other dimensions, use HS.AddMemberToList.

HS.AddEntityToList "UnitedStates", "Maine"
HS.AddMemberToList "July"

HS.Entity.List

Specifies an entity member list.

HS.Entity.List("","[Base])

HS.MemberListEntity HS.MemberListScenario HS.MemberListYear HS.MemberListPeriod

Use to specify a dynamic memberlist.