EsbGetMemberCalc() gets the calc equation for a specific member in the active database outline.
EsbGetMemberCalc (hCtx, MbrName, MbrCalc, szMbrCalc, MbrLastCalc, szMbrLastCalc)
ByVal hCtx As Long ByVal MbrName As String ByVal MbrCalc As String ByVal szMbrCalc As Integer ByVal MbrLastCalc As String ByVal szMbrLastCalc As Integer
hCtx | Essbase VB API context handle. |
MbrName | Member name. |
MbrCalc | Buffer to receive a member calc string. |
szMbrCalc | Size of the buffer to receive a member calc string. |
MbrLastCalc | Buffer to receive a member last calc string. |
szMbrLastCalc | Size of the buffer to receive a member last calc string. |
Declare Function EsbGetMemberCalc Lib "ESBAPIW" (ByVal hCtx As Long, ByVal MbrName As String, ByVal Calc As String, ByVal szCalc As Integer, ByVal LastCalc As String, ByVal szLastCalc As Integer) As Long Sub ESB_GetMemberCalc () Dim sts As Long Dim MbrName As String Const szCalc = 256 Dim Calc As String * szCalc Const szLastCalc = 256 Dim LastCalc As String * szLastCalc MbrName = "Year" '**************** ' Get Member Calc '**************** sts = EsbGetMemberCalc (hCtx, MbrName, Calc, szCalc, LastCalc, szLastCalc) End SubEsbGetMemberInfo()