RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBlobStream.Truncate Method

Discards all data in the BLOB field from the current position on.

Pascal
procedure Truncate;
C++
__fastcall Truncate();

Use Truncate to limit the size of the BLOB data. Calling Truncate when the current position is 0 will clear the contents of the BLOB field.

Note: Do not call Truncate when the TBlobStream was created in bmRead mode.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!