EsbGetStringBuf() gets data from the active database until it returns all available data or until the caller's buffer is full.
EsbGetStringBuf (hCtx, getString, szString)
ByVal hCtx As Long ByVal getString As String ByVal szString As Integer
hCtx | Essbase VB API context handle. |
getString | Buffer to receive returned data strings. Maximum buffer size: 64 K. |
szString | Size of buffer to receive returned data string. |
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.
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().EsbGetString()