I have created dynamic member lists to get all members of the entity dimension that have a UD1 or UD2 member as specified in the script.
THe member lists all appear in HFM, but when I try to select them, I get a run-time error. I am trying to select them in the member selection of a data form (in the same drop down with the different system member lists for entiites, like hierarchy, descendants, etc.).
I believe this is the standard syntax. Please let me know if something is wrong with it.
ElseIf HS.Dimension = "Entity" Then
If HS.MemberListID = 1 Then
For i = Lbound(ELi) to Ubound(ELi)
If HS.Entity.IsBase("",ELi(i)) = TRUE Then
If (StrComp(Hs.Entity.UD1(ELi(i)),"DD",vbTextCompare)=0) Then