SQLMemTable: BDE Alternative Embedded
In-Memory Database with SQL for Delphi / C++Builder


TSQLMemBlobStream.Create
TSQLMemBlobStream
Top 

Creates an instance of TSQLMemBlobStream.

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

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

Create links the TSQLMemBlobStream 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 TSQLMemBlobStream object should always be destroyed before navigating to a new record. Create a new instance of TSQLMemBlobStream for the new record.


© AidAim Software SQLMemTable: