EPUB | CHM | PDF

TPSQLDataset.Methods.GetBlobFieldData

Top Previous Next

Reads BLOB data into a buffer.

Syntax:

TBlobByteData = array of Byte;
function GetBlobFieldData(FieldNo: Integer;
                       var Buffer: TBlobByteData): Integer;
override;

Description:

GetBlobFieldData reads blob data from the field specified by FieldNo into a Buffer. The buffer is a dynamic array of bytes, so that it can grow to accommodate the size of the BLOB data. GetBlobFieldData returns the size of the buffer.