Delphi 7
MS SQL Server 2000
I have a problem and had to reload Delphi and TRichView.
Since then I have a number of issues but the one that is stumping me relates to the DBRichViewEdit.
Instead of the text I am getting the following...I'm used to seeing this when I look at the DBRichView data in the database not in the DBRichViexEdit.
EXAMPLE 1
-8 1 3
-9 2 0 0 2 0 1
rvs
Ð
EXAMPLE 2
-8 1 3
-9 2 0 0 2 0 1
rvs
ø
Problem after reload of TRichview
More info...
Delphi 7 Enterprise
MS SQL 2000
I also get errors when I try to post the data back to the database. If I clear the DBRichViewEdit it updates the rest of the data fine.
MS SQL 2000
I also get errors when I try to post the data back to the database. If I clear the DBRichViewEdit it updates the rest of the data fine.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Do I understand correctly: when you display the field content using TDBRichViewEdit control, all looks correct. But when you try to display the same field using TDBRichView control, it displays these codes instead of document?
If yes, the problems are in property settings. When DBRichView (or DBRichViewEdit) fails to load RVF, it tries to load RTF; if it fails too, it loads as a plain text, and you can see these codes.
If the same document can be loaded in another control, the only explanation is in property settings.
The first thing to try: right click DBRichView, choose "Settings" in the content menu, make sure that "Allow adding styles dynamically" is set on the page "Styles". On the page "Tags", select "Tags store strings".
If yes, the problems are in property settings. When DBRichView (or DBRichViewEdit) fails to load RVF, it tries to load RTF; if it fails too, it loads as a plain text, and you can see these codes.
If the same document can be loaded in another control, the only explanation is in property settings.
The first thing to try: right click DBRichView, choose "Settings" in the content menu, make sure that "Allow adding styles dynamically" is set on the page "Styles". On the page "Tags", select "Tags store strings".