# EsbSendString

Description

EsbSendString() sends a string of data to the active database. The string must be less than 32 Kbytes long. This function should be called after EsbBeginReport(), EsbBeginUpdate(), or EsbBeginCalc().

Syntax

    EsbSendString (hCtx, sndString)

    ByVal hCtx      As Long
    ByVal sndString As String

Parameters

hCtx | Essbase VB API context handle.
sndString | Data string (must be less than 32 Kbytes in length.

Return Value

None.

Notes

- Calling this function other than after successfully executing a begin report, update or calculate function will generate an error.
- The string to be sent must be less than 32 KBytes long.
- When you are using this function with EsbBeginUpdate(), you must end the update string with a carriage return or line feed character.

Access

This function requires no special privileges.

Example

    Declare Function EsbSendString Lib "ESBAPIW" (ByVal hCtx As Long, ByVal sndString As String) As Long
    See the examples for EsbBeginReport() and EsbBeginUpdate().

See Also

EsbBeginCalc()
EsbBeginReport()
EsbBeginUpdate()
EsbGetString()