EnumMemberLists

Each member list file must include an EnumMemberLists subroutine to specify which dimensions have member lists, the number of lists for each dimension, and the name of each member list. Within the EnumMemberLists () subroutine, you use the syntax and functions in this table to define member lists:

Syntax Description

Dim ElementLists(n)

Specifies the number of lists for each statement

where Element is the dimension name for which you are creating member lists and n is the total number of member lists that you are defining for the dimension. For example, if the file contains three member lists for the Entity dimension, the syntax is as follows:

Dim EntityLists(3)

HS.Dimension = "" Element "

where Element is the dimension name. For example:

If HS.Dimension = "Entity" Then

ElementLists(n) = " ListName "

Specifies the name and numeric ID for each list

where Element is the dimension name, n is the ID number of the member list, and ListName is the name of the list.

You can use the @POV keyword to create a dynamic list based on the dimension member that is currently set in the POV. The entities appearing in the entity list can be based on the Scenario, Year, Period and Entity selected in the POV of a report.

For example:

EntityLists(1) = "NewEngland"
                        
EntityLists(2) = "Alloc"
                        
EntityLists(3) = "AllEntities(@POV)"
                        

HS.SetMemberLists ElementLists

Sets the specified names and numeric IDs

where Element is the dimension name. For example:

HS.SetMemberLists EntityLists