UltraLite for MobileVB User's Guide
UltraLite for MobileVB API Reference
ULColumn class
AppendByteChunk( _
data As Long, _
data_len As Long _
)
Member of UltraLiteAFLib.ULColumn
Appends the buffer of bytes to the row's column if the type is ulTypeLongBinary or TypeBinary.
data A pointer to an array of bytes. To get the pointer to the array of bytes, use the Visual Basic VarPtr() function.
data_len The number of bytes from the array to append.
Error | Description |
---|---|
ulSQLE_INVALID_PARAMETER | The error occurs if data length is less than 0 |
ulSQLE_CONVERSION_ERROR | The error occurs if the column data type is not LONG BINARY |
In the following example, 512 bytes of data are appended to the edata column.
Dim data (1 to 512) As Byte ... table.Column("edata").AppendByteChunk( _ VarPtr(data(1)), 512)