Save to database directly as html

General TRichView support forum. Please post your questions here
Post Reply
Marco Azevedo

Save to database directly as html

Post by Marco Azevedo »

Dear friends,

I would like to save the text from TRichview to database as html format directly without save in HD. Is there anyway to do that ?


Thanks
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Save to database directly as html

Post by Sergey Tkachenko »

If you want to store to database from TRichView or TRichViewEdit, use SaveHTMLToStreamEx/SaveHTMLToStream method (in the same way as SaveRVFToStream is used in Demos\Delphi\DB Demo\2 RichViewEdit\)

If you want to DBRichViewEdit to store data in a custom format, it's possible starting from TRichView v1.9.13 (available for registered users): OnLoadCustomFormat and OnSaveCustomFormat events.
Post Reply