BindThreshold Property

       

Returns or sets a value specifying the largest column that will be automatically bound under ODBC.

Syntax

object.BindThreshold [= value]

The BindThreshold property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A Long expression as described in Remarks.

Remarks

The default value for BindThreshold is 1024 bytes.

Several data types support sizes that are far too large to handle using conventional string or byte array techniques. For these columns, you should use the GetChunk and AppendChunk methods. However, use of these methods is not required — you can simply address the Value property assuming the size of the chunk data does not exhaust your resources.

By setting the BindThreshold property, you can set the maximum size of chunk that RDO automatically binds to strings. Columns larger than the BindThreshold value require use of the GetChunk method to retrieve data. The ChunkRequired property indicates if the column requires use of AppendChunk and GetChunk methods by comparing the column's data size against the BindThreshold value.