Page 1 of 1

Problem with TDBRichViewEdit

Posted: Thu Sep 01, 2022 8:09 pm
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.

Re: Problem with TDBRichViewEdit

Posted: Fri Sep 02, 2022 9:55 am
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).

Re: Problem with TDBRichViewEdit

Posted: Fri Sep 02, 2022 5:34 pm
by Ajaz
Ok. Thank you. Problem solved.