RAD Studio VCL Reference
|
Indicates the number of bytes of data contained in the blob field on the current record.
property BlobSize: Integer;
__property int BlobSize;
Read BlobSize to determine the amount of memory required to store the contents of the BLOB field. Use BlobSize instead of the DataSize property, which always returns 0 for BLOB fields.
procedure TForm1.Query1AfterScroll(DataSet: TDataSet); begin Caption := 'BLOB size: ' + IntToStr(TBlobField(Query1.FieldByName('BITMAP')).BlobSize); end;
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|