Returns the member ID of the View dimension member that has been assigned as the ZeroViewForAdj attribute of a given Scenario dimension member.
<HsvScenarios>.GetMissingDataZeroViewForAdjValues lItemID, plView
Long (ByVal). The member ID of the Scenario dimension member. | |
Long. Returns the member ID of the View dimension member assigned as the ZeroViewForAdj attribute. |
The following function returns the label of the View dimension member assigned as a given Scenario member’s ZeroViewForAdj attribute.
Function getLabelZeroViewAdj(sScenMemName As String) As String Dim cTreeInfo As IHsvTreeInfo, lScenId As Long Dim cScenarios As HsvScenarios, lViewID As Long Dim sViewLabel As String 'm_cMetadata is an HsvMetadata object reference Set cTreeInfo = m_cMetadata.Scenarios Set cScenarios = m_cMetadata.Scenarios lScenId = cTreeInfo.GetItemID(sScenMemName) cScenarios.GetMissingDataZeroViewForAdjValues lScenId, lViewID Set cTreeInfo = m_cMetadata.Views cTreeInfo.GetLabel lViewID, sViewLabel getLabelZeroViewAdj = sViewLabel End Function