GetDescription

Returns a cell’s description, given the member IDs that identify the cell.

Tip:

To get a cell’s description by passing an index, use GetDescriptionAtIndex. For details, see GetDescriptionAtIndex.

Syntax

<HsvMDDataBufferLite>.GetDescription lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, pbstrDescription

Argument

Description

lScenario

Long (ByVal). The member ID of the cell’s Scenario dimension member.

lYear

Long (ByVal). The member ID of the cell’s Year dimension member.

lPeriod

Long (ByVal). The member ID of the cell’s Period dimension member.

lEntity

Long (ByVal). The member ID of the cell’s Entity dimension member.

lParent

Long (ByVal). The member ID of the lEntity argument’s parent entity.

lValue

Long (ByVal). The member ID of the cell’s Value dimension member.

lAccount

Long (ByVal). The member ID of the cell’s Account dimension member.

lICP

Long (ByVal). The member ID of the cell’s Intercompany Partner dimension member.

lCustom1

Long (ByVal). The member ID of the cell’s Custom 1 dimension member.

lCustom2

Long (ByVal). The member ID of the cell’s Custom 2 dimension member.

lCustom3

Long (ByVal). The member ID of the cell’s Custom 3 dimension member.

lCustom4

Long (ByVal). The member ID of the cell’s Custom 4 dimension member.

pbstrDescription

String. Returns the cell’s description.

Example

The following example returns a cell’s description. The example assumes that the cell’s dimension member IDs have been previously defined.

Dim sCellDesc As String
m_cMDBufferLite.GetDescription m_lScen, m_lYear, m_lPer, _ 
m_lEnt, m_lPar, m_lVal, m_lAcct, m_lICP, m_lCust1, _ 
m_lCust2, m_lCust3, m_lCust4, sCellDesc