Data.Win.ADODB.TADOBlobStream.Truncate
Delphi
procedure Truncate;
C++
void __fastcall Truncate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOBlobStream |
Description
Discards all data in the BLOB field from the current position on.
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.