Contents Index Properties AppendStringChunk method

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

AppendByteChunk method


Prototype 

AppendByteChunk( _
   byteArray, _
   [ chunkSize ] _
) As Boolean
Member of UltraliteActiveX.ULColumn

Description 

Appends the buffer of bytes to the row's column if the type is ulTypeLongBinary or TypeBinary.

Parameters 

byteArray    The array of bytes to be appended.

chunkSize    The number of bytes to be appended. If not provided, the length of byteArray is used.

Returns 

True if successful.

False if unsuccessful.

Errors set 
Error Description
ulSQLE_CONVERSION_ERROR The error occurs if the column data type is not LONG BINARY or BINARY
Example 

In the following example, 512 bytes of data are appended to the edata column.

' eMbedded Visual Basic
Dim data (512) As Byte
' ...
table.Columns("edata").AppendByteChunk(data)
// JScript
var data = new Array();
// ...
table.Columns("edata").AppendByteChunk(data);

Contents Index Properties AppendStringChunk method