Returns a member handle to the first member in the outline. The first member is the first dimension defined in the outline.
Syntax
EsbOtlGetFirstMember (hOutline, phMember) ByVal hOutline As Long phMember As Long
| Parameter | Description |
|---|---|
hOutline | Outline context handle. |
phMember | Variable for the handle of the first member in the outline. This parameter is passed to subsequent calls for traversing the outline. |
Return Value
Returns 0 if successful.
Example
Declare Function EsbOtlGetFirstMember Lib
"ESBOTLN" (ByVal hOutline As Long, phMember As Long) As Long
Sub ESB_OtlGetFirstMember()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Dim hMemberFirst 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 = EsbOtlGetFirstMember
(hOutline, hMemberFirst)
End If
End SubSee Also