EsbOtlOpenOutlineQuery() opens an existing outline.
EsbOtlOpenOutlineQuery (hCtx, pObject, phOutline)
ByVal hCtx As Long
pObject As ESB_OBJDEF_T
phOutline As Long
| hCtx | Outline context handle. This must be a valid server login context. |
| pObject | Pointer to object structure defining the outline object to open. Currently this is ignored. You should call EsbSetActive() for the database you are accessing. |
| phOutline | Pointer to an ESB_HOUTLINE_T variable. This will be set by the API and should be passed in to subsequent API functions. |
The return value is zero if the function was successful.
OTLAPI_BAD_OBJTYPE
OTLAPI_ERR_FILEOPEN
OTLAPI_ERR_FILEIO
Declare Function EsbOtlOpenOutlineQuery Lib "ESBOTLW.DLL"
(ByVal hCtx As Long, pObject As ESB_OBJDEF_T, phOutline As Long) As Long
Sub ESB_OtlOpenOutlineQuery()
Dim sts As Long
Dim hOutline As Long
Dim Object As ESB_OBJDEF_T
Dim Access As Integer
Dim AppName As String
Dim DbName As String
AppName = "Sample"
DbName = "Basic"
sts = EsbSetActive(hCtx, AppName, DbName, Access)
If sts = 0 Then
sts = EsbOtlOpenOutlineQuery(hCtx, Object, hOutline)
End If
End Sub
EsbOtlCloseOutline()
EsbOtlOpenOutline()
EsbOtlQueryMembers()
EsbOtlQueryMembersByName()
EsbSetActive()