This function returns attribute information for a given attribute member or dimension.
EsbGetAttributeInfo (hCtx, AttrName, AttrInfo)
ByVal hCtx As Long
ByVal AttrName As String
AttrInfo As ESB_ATTRIBUTEINFO_T
| hCtx | Context handle |
| AttrName | Name of the attribute member or dimension |
| AttrInfo | Attribute information |
Returns sts = 0 when successful and populates the ESB_ATTRIBUTEINFO_T structure. Otherwise returns an error number.
This function requires no special privileges.
Sub ESB_GetAttributeInfo()
' NOTE: 'Out' is a sub to print the output within quotes to a listbox or text box.
Dim hCtx as long
Dim sts as long
Dim MbrName As String
Dim OutAttrInfo As ESB_ATTRIBUTEINFO_T
MbrName = InputBox("Member Name")
sts = EsbGetAttributeInfo(hCtx, MbrName, OutAttrInfo)
If sts = 0 Then
Out "ESB_OtlGetAttributeInfo passed" & sts
Out "MbrName : " & OutAttrInfo.MbrName
Out "DimName : " & OutAttrInfo.DimName
Out "Attribute : " & OutAttrInfo.Attribute
Else
Out "ESB_OtlGetAttributeInfo failed" & sts: Exit Sub
End If
End Sub
EsbCheckAttributes()
EsbGetAssociatedAttributesInfo()
EsbGetAttributeSpecifications()
EsbOtlAssociateAttributeDimension()
EsbOtlAssociateAttributeMember()
EsbOtlDisassociateAttributeDimension()
EsbOtlDisassociateAttributeMember()
EsbOtlFindAttributeMembers()
EsbOtlGetAssociatedAttributes()
EsbOtlGetAttributeInfo()
EsbOtlGetAttributeSpecifications()
EsbOtlQueryAttributes()
EsbOtlSetAttributeSpecifications()