Contents Index Properties AppendStringChunk method

UltraLite for MobileVB User's Guide
  UltraLite for MobileVB API Reference
    ULColumn class

AppendByteChunk method


Prototype 

AppendByteChunk( _
   data As Long, _
   data_len As Long _
)
Member of UltraLiteAFLib.ULColumn

Description 

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

Parameters 

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.

Errors set 
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
Example 

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)

Contents Index Properties AppendStringChunk method