RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientBlobStream.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 does the same thing as setting the Size property to the value of the Position property. Calling Truncate when the current position is 0 clears 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!