Anybody has an example on how to use TCompressedBlob to read and write compressed data into a TBlobField?
Thanks,
How to use TCompressedBlob
To read/write data from TCompressedBlob you can use the TCompressedBlob.Read, TCompressedBlob.Write, TCompressedBlob.AsString methods.
To get the Blob object for the field you should use the following code:
You can find more detailed information about these methods in the SDAC help.
To get the Blob object for the field you should use the following code:
Code: Select all
Blob := MSQuery.GetBlob(Field);