EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TEasyBlobStream.Create
TEasyBlobStream
Top 

Creates an instance of TEasyBlobStream.

constructor Create(Field: TBlobField; Mode: TBlobStreamMode);

Description
Call Create to obtain an instance of TEasyBlobStream for reading from or writing to a specific TBlobField object.

Create links the TEasyBlobStream to the field object specified by the Field parameter. Mode specifies whether the BLOB stream will be used to read data (bmRead), write data (bmWrite) or modify data (bmReadWrite). Mode must be one of the following values:

Value
Meaning
bmRead
Enables the BLOB stream to read data from the field.
bmWrite
Enables the BLOB stream to replace the data in the field.
bmReadWrite
Enables the BLOB stream to modify the data in the field.


Note: A TEasyBlobStream object should always be destroyed before navigating to a new record. Create a new instance of TEasyBlobStream for the new record.


© AidAim Software EasyTable: Easytable Bde Alternative Single File Delphi Databas