Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRBlobStream.Seek
TACRBlobStream
Top 

Resets the current position of the TACRBlobStream object.

function Seek(Offset: Longint; Origin: Word): Longint;

Description
Use Seek to move the current position within the BLOB data by the indicated offset. Seek allows an application to read from or write to a particular location within the BLOB data.

The Origin parameter indicates how to interpret the Offset parameter. Origin should be one of the following values:

Value
Meaning
soFromBeginning
Offset starts from the beginning of the BLOB data. Seek moves to the position Offset. Offset must be >= 0.
soFromCurrent
Offset starts from the current position in the BLOB data. Seek moves to Position + Offset.
soFromEnd
Offset counts from the end of the BLOB data. Offset must be <= 0 to indicate the number of bytes before the end of the BLOB.


Seek returns the new value of the Position property, the new current position in the BLOB data.


© AidAim Software Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas