Data.Win.ADODB.TADOBlobStream.Truncate
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Data.Win.ADODB.pas Data.Win.ADODB.hpp
| |
| Unit: Data.Win.ADODB | |
| Parent: TADOBlobStream | |
Delphi
procedure Truncate;
C++
void __fastcall Truncate();
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.