trichview.com

trichview.support




Re: Problems with TDBRichViewEdit


Return to index


Author

Message

Darran

Posted: 07/19/2004 15:52:30


What sort of database are you using?


I have a similar problem, but I believe my problem is an MS Access one, my

app was compiled on a machine running Office XP, when I tried running it

on a machine with Office 97 I got the following:


-8 1 3

-9 2 0 0 2 0 1

rvsStyle

'        StyleName0FontNameArial etc


Any records added by the application compiled with the same version of Office

worked, but when run with the app using a different version of Office it

goes wrong!


Hope this may help.


Darran


"Sergey Tkachenko" <[email protected]> wrote:

>My question was about the step 1.

>If you use LoadRTF for loading, you need to call table.Edit before loading,

>and DBRichViewEdit.Change after loading. All this must be called before

>table.Post, otherwise results will be exactly like you described.

>

>But InsertRVFFromFileEd and pasting must do all this work (before

>table.Post) automatically.

>

>Can you create a small demo project reproducing this problem and send it

to

>me?

>

>> > How do you read RTF file?

>>

>> Please, have a closer look at the steps I provided on the previous

>message.

>> I believe you did not understand that the file is loaded correctly and

>> displayed also correctly at first. The problem only occours ONLY AFTER

a

>> POST. Then TDBRichViedEdit does not display the data correctly any longer

>> and does not accept manual inputs either.

>>

>> Anyway, to insert a RTF into TDBRichViewEdit I use the method

>> InsertRTFFromFileEd(OpenDialog.FileName). I also use pasting.

>>

>> *** AGAIN! TDBRichViewEdit loads RTF files and handles pasting correctly

>at

>> first. However when I post the data into a Blob field, although the data

>is

>> stored correctly in the Blob field, it IS NOT displayed correctly any

>more,

>> and from this poing on TDBRickViewEdit is no longer able to accept manual

>> inputs either.

>>

>>

>

>





Powered by ABC Amber Outlook Express Converter