EsbOtlGetChild() returns the child of a member.
EsbOtlGetChild (hOutline, hMember, phMember)
ByVal hOutline As Long
ByVal hMember As Long
phMember As Long
| hOutline | Outline context handle. |
| hMember | Handle of member to retrieve the child of. |
| phMember | Return variable for the handle of the child of the hMember parameter. |
Returns 0 if successful.
Declare Function EsbOtlGetChild Lib
"ESBOTLW" (ByVal hOutline As Long, ByVal hMember As Long,
phMember As Long) As Long
Sub ESB_OtlGetChild()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Dim hMemberParent As Long
Dim hMemberChild 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,
"Year", hMemberParent)
End If
If sts = 0 And hMemberParent <> 0 Then
sts = EsbOtlGetChild(hOutline,
hMemberParent, hMemberChild)
End If
End Sub
EsbOtlGetParent()
EsbOtlGetNextSibling()
EsbOtlGetPrevSibling()
EsbOtlGetFirstMember()