Returns the member ID of the View dimension member that has been assigned as the ZeroViewForNonadj attribute of a given Scenario dimension member.
<HsvScenarios>.GetMissingDataZeroViewForNonAdjValues 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 ZeroViewForNonadj attribute. |
The following function returns the label of the View dimension member assigned as a given Scenario member’s ZeroViewForNonadj attribute.
Function getLabelZeroViewNonadj(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.GetMissingDataZeroViewForNonAdjValues lScenId, _ lViewID Set cTreeInfo = m_cMetadata.Views cTreeInfo.GetLabel lViewID, sViewLabel getLabelZeroViewNonadj = sViewLabel End Function