EsbCheckMemberName() checks if a string is a valid member name within the active database outline.
EsbCheckMemberName (hCtx, MemName, isOk)
ByVal hCtx As Long ByVal MemName As String isOk As Integer
hCtx | Essbase VB API context handle. |
MemName | Member name to be verified. |
isOk | Address of variable to receive a valid member flag. Set to TRUE if member is valid. |
Declare Function EsbCheckMemberName Lib "ESBAPIW" (ByVal hCtx As Long, ByVal MbrName As String, isOk As Integer) As Long Sub ESB_CheckMemberName () Dim MbrName As String Dim Valid As Integer Dim sts As Long MbrName = "Year" '****************** ' Check member name '****************** sts = EsbCheckMemberName (hCtx, MbrName, Valid) if Valid = ESB_YES Print "Valid Member Name" End If End SubEsbGetMemberInfo()