TDBRichViewEdit & LoadRVF

General TRichView support forum. Please post your questions here
Post Reply
tspotorno
Posts: 6
Joined: Fri Jun 26, 2009 10:42 pm

TDBRichViewEdit & LoadRVF

Post 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.
tspotorno
Posts: 6
Joined: Fri Jun 26, 2009 10:42 pm

Post by tspotorno »

Thanks, adding the DBrichViewEdit.Change did the trick!
Post Reply