Data.SqlExpr.TSQLBlobStream.ReadBlobData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadBlobData;

C++

void __fastcall ReadBlobData();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLBlobStream

Description

Fills the BLOB stream's memory buffer with the contents of the associated BLOB field.

Call ReadBlobData to refresh the contents of the BLOB stream when the current record in the dataset changes. ReadBlobData reads the contents of a BLOB field into the SQL BLOB stream's in-memory buffer and sets the Size property to the number of bytes of BLOB data. It then sets Position to 0 so that the stream is ready for you to read the BLOB data.

Note: It is not necessary to call ReadBlobData when you first create a SQL BLOB stream, because the constructor already performs this task. You need only call ReadBlobData when the current record changes, so that the stream reflects the BLOB data for the new record.

See Also