EsbGetStringBuf

Description

EsbGetStringBuf() gets data from the active database until it returns all available data or until the caller's buffer is full.

Syntax
EsbGetStringBuf (hCtx, getString, szString)
ByVal hCtx      As Long
ByVal getString As String
ByVal szString  As Integer

Parameters

hCtxEssbase VB API context handle.
getStringBuffer to receive returned data strings. Maximum buffer size: 64 K.
szStringSize of buffer to receive returned data string.

Return Value

This function returns one or more data strings in getString. If no more data is left, it returns an empty string buffer.

This function returns all the data the buffer can accommodate, even if this means taking part of a record and including this partial record at the end of the buffer. The next call to EsbGetStringBuf() returns the rest of the partial record at the start of the buffer.

Notes

Access

This function requires no special privileges.

Example

Declare Function EsbGetStringBuf Lib "ESBAPIW"(
   ByVal hCtx As Long, 
   ByVal getString As String, 
   ByVal szString As Integer) 
   As Long
See the examples for EsbReport() and EsbQueryDatabaseMembers().

See Also

EsbGetString()
EsbReport()
EsbEndReport()
EsbQueryDatabaseMembers()