Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » UltraLite for AppForge API Reference » ULColumn class

GetByteChunk method Next Page

GetStringChunk method


Gets data from a TypeString or TypeLongString column.

Syntax

GetStringChunk( _
offset As Long, _
data As String, _
string_len As Long, _
filled_len As Long _
) As Boolean
Member of UltraLiteAFLib.ULColumn

Parameters

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

data    The variable to receive the string data.

string_length    The length of the String you want returned.

filled_len    The length of the String fetched.

Returns

True if there is more data to be retrieved from the database.

False if there is no more data.

Errors

ulSQLE_CONVERSION_ERROR    This error occurs if the column data type is not CHAR or LONG VARCHAR.

ulSQLE_INVALID_PARAMETER    This error occurs if the column data type is CHAR and the src_offset is greater than 64K.

The error also occurs if src_offset is less than 0 or string length is less than 0.