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
Parameter | Description |
---|---|
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
This function creates an empty outline in memory.
No transactions are kept when this call is used. See EsbOtlOpenOutline() for more information on keeping transactions.
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