EsbOtlSetMemberInfo

Sets member attribute information.

Syntax

EsbOtlSetMemberInfo (hOutline, hMember, pInfo)
ByVal hOutline As Long
ByVal hMember  As Long
      pInfo    As ESB_MBRINFO_T
ParameterDescription

hOutline

Outline context handle.

hMember

Handle to member to set attributes for.

pInfo

Member information structure.

Notes

Return Value

Returns 0 if successful; otherwise one of the following:

Example

Declare Function EsbOtlSetMemberInfo Lib 
"ESBOTLN" (ByVal hOutline As Long, ByVal hMember As Long,
pInfo As ESB_MBRINFO_T) As Long

Sub ESB_OtlSetMemberInfo()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Dim MbrInfo As ESB_MBRINFO_T
Dim hFeb As Long
Object.hCtx = hCtx
Object.Type = ESB_OBJTYPE_OUTLINE
Object.AppName = "Sample"
Object.DbName = "Basic"
Object.FileName = "Basic"
sts = EsbOtlOpenOutline(hCtx, Object, 
ESB_YES, ESB_YES, hOutline)
If sts = 0 Then
   sts = EsbOtlFindMember(hOutline, "Feb", hFeb)
End If
If sts = 0 And hFeb <> 0 Then
   MbrInfo.fTwoPass = ESB_TRUE
   MbrInfo.fExpense = ESB_TRUE
   MbrInfo.usTimeBalance = ESB_TIMEBAL_AVG
   MbrInfo.usSkip = ESB_SKIP_ZEROS
   MbrInfo.usConsolidation = ESB_UCALC_MULT
   sts = EsbOtlSetMemberInfo(hOutline, hFeb, MbrInfo)
End If
End Sub

See Also