WPCubed Product Support

Compress text to Blob field

I see that my database is very huge because my wptools rtf text. I need compress the text before save to blob and decompress this text before load it.

I'm using wpRichText dataware components.

What events I can use to compress and decompress the text?

Thanks

#1 ♥ 0
3.8k Views 2 users read 1 min
support

Hi,

there are no events to do that. But ypou use the TWPRichText, LoadFromStream/SaveToStream, the DataSet events OnScroll and Before Post and use a stream compressor to compress the streams befotre you save it into the BLOB streams.

Julian

#2 ♥ 0

stream compressor????

Can you show me how to do this?

#3 ♥ 0
This category is archived. No new posts are possible.