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
Save to database directly as html
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Save to database directly as html
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.
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.