UltraLite ActiveX User's Guide
UltraLite ActiveX API Reference
ULColumn class
AppendByteChunk( _
byteArray, _
[ chunkSize ] _
) As Boolean
Member of UltraliteActiveX.ULColumn
Appends the buffer of bytes to the row's column if the type is ulTypeLongBinary or TypeBinary.
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.
True if successful.
False if unsuccessful.
Error | Description |
---|---|
ulSQLE_CONVERSION_ERROR | The error occurs if the column data type is not LONG BINARY or BINARY |
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);