Contents Index GetByteChunk method MoveAfterLast method

UltraLite for MobileVB User's Guide
  UltraLite for MobileVB API Reference
    ULResultSet class

GetStringChunk method


Prototype 

GetStringChunk( _
   index As Integer, _
   offset As Long, _
   data As String, _
   string_len As Long, _
   filled_len As Long _
) As Boolean
Member of UltraLiteAFLib.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.

data    The data string.

string_len    The length of the string you want returned.

filled_len    The length of the string filled.

Returns 

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 0 or string length is less than 0

Contents Index GetByteChunk method MoveAfterLast method