RAD Studio VCL Reference
TADOBlobStream.Truncate Method

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

procedure Truncate;
__fastcall Truncate();

Use Truncate to limit the size of the data in the BLOB field. Calling Truncate when the current position is 0 will clear the contents of the BLOB field. If Position is other than zero, data is cleared from the point to the end of the field's data for the current record.

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

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!