Contents Index GetByteChunk method MoveAfterLast method

UltraLite ActiveX User's Guide
  UltraLite ActiveX API Reference
    ULResultSet class

GetStringChunk method


Prototype 

GetStringChunk(
   index As Long, _
   offset As Long, _
   pStringObj, _
   [ chunkSize ] ) As Long
Member of UltraliteActiveX.ULResultSet

Description 

Fills the string passed in with the binary data in the column. Suitable for Long Varchars.

Parameters 

index    The 1-based column ID of the target column.

offset    The character offset into the underlying data from which you start getting the string.

pStringObj    The string you want returned. This variant is passed by reference.

chunkSize    An optional parameter representing the number of characters to retrieve.

Returns 

The number of characters copied. Room is left for a null termination character and the length does not include that character.

Gets BLOB data from a binary or long binary column.

Errors set 
Error Description
ulSQLE_CONVERSION_ERROR The error occurs if the column data type is not CHAR or LONG VARCHAR
ulSQLE_INVALID_PARAMETER The error occurs if the column data type is CHAR and the src_offset is greater than 64K
ulSQLE_INVALID_PARAMETER

The error occurs if offset is less than 1 or string length is less than 0


Contents Index GetByteChunk method MoveAfterLast method