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 » ULResultSet class

GetString method Next Page

GetStringChunk method

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


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


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.


Gets BLOB data from a binary or long binary column.


This method throws an error if the underlying column is NULL. Applications should first check for a NULL value in the property or method.

Errors set

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. This error also occurs if offset is less than 0 or string length is less than 0.