Problem with TDBRichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
Ajaz
Posts: 12
Joined: Wed Jun 15, 2022 7:35 am

Problem with TDBRichViewEdit

Post by Ajaz »

I have a TDBRichViewEdit connected to a blob field.
If I write directly on the component there is no problem. But if I insert text through code and perform a format, this text is not saved unless I write later on the component. Nor if I run the AppedRVFFromStream procedure that I use to add text from another field.

Is there any procedure or option to save the content in the database without the need to write text manually after performing the AppedRVFFromStream and the Format.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Problem with TDBRichViewEdit

Post by Sergey Tkachenko »

See https://www.trichview.com/help/idh_exam ... edit1.html
Briefly: call CanChange before, and Change after, then either Format (if you do not want to update dataset immediately) or DataSet.Post (if you want to update it immediately).
Ajaz
Posts: 12
Joined: Wed Jun 15, 2022 7:35 am

Re: Problem with TDBRichViewEdit

Post by Ajaz »

Ok. Thank you. Problem solved.
Post Reply