Page 1 of 1

TDBRichViewEdit & LoadRVF

Posted: Mon Sep 28, 2009 5:18 pm
by tspotorno
Having a strange issue:

I put the table into edit mode, call LoadRVF(FileName) Load RVF returns a True and I see the document appear in the TDBRichViewEdit component, now when I do a Table.Post() nothing appears to save!?

Basically:

Table.Edit;
if DBRichViewEdit.LoadRVF(myFileName) then
DBRichViewEdit.Format;
Table.Post;

I know it is a valid file because i used the SaveRVF(myFileName, False) on another document.

I had to place the Format method otherwise the document doesnt display.

Am I missing something?

Thanks.

Posted: Tue Sep 29, 2009 8:35 am
by Sergey Tkachenko

Posted: Tue Sep 29, 2009 12:52 pm
by tspotorno
Thanks, adding the DBrichViewEdit.Change did the trick!