EsbOtlNewOutline

Creates an outline without creating a file. Used as an alternative to EsbOtlOpenOutline().

Syntax

EsbOtlNewOutline (hCtx, pNewInfo, phOutline)
ByVal hCtx      As Long
      pNewInfo  As ESB_OUTLINEINFO_T
      phOutline As Long
ParameterDescription

hCtx

Essbase Context handle.

pNewInfo

Structure describing the new outline.

phOutline

Return variable for the ESB_HOUTLINE_T value. This handle is set by the API and should be passed to subsequent Outline API functions.

Notes

Return Value

Returns 0 if successful.

Example

Declare Function EsbOtlNewOutline Lib 
"ESBOTLN.DLL" (ByVal hCtx As Long, pNewInfo As ESB_OUTLINEINFO_T,
phOutline As Long) As Long

Sub ESB_OtlNewOutline()
Dim sts As Long
Dim NewInfo As ESB_OUTLINEINFO_T
Dim hOutline As Long
NewInfo.usOutlineType = ESB_DBTYPE_NORMAL
NewInfo.fCaseSensitive = ESB_FALSE
NewInfo.fAutoConfigure = ESB_TRUE
sts = EsbOtlNewOutline(hCtx, NewInfo, hOutline)
End Sub

See Also