Page 1 of 1

Problem with RichEdit

Posted: 03.08.2009, 11:14
by Shagrat3
Problem with RichEdit

Put in to Form: ZTable+DataSet+TDBRichEdit
Connect the table and see: RTF code in the edit

Sorry for my English

Posted: 05.08.2009, 22:44
by seawolf
Hi, I did a test with Firebird but data in DBRichEdit are displayed correctly.
So we need more info:
- db (I suppose Postgres 8.4)
- Does that table contains FK or other references?
- Which kind of data would you like display?

Posted: 06.08.2009, 09:45
by Shagrat3
I use
Postgres: 8.4
Table (UTF8; Russian, Russian): id=serial;note=text
Zeos: 7.0
Delphi: 7

On start program:

Code: Select all

SET CLIENT_ENCODING TO ''Win'';
SET TIME ZONE ''Europe/Moscow'';
SET DATESTYLE TO ISO, dmy;
I see:

Code: Select all

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset204{\*\fname Arial;}Arial CYR;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue0;}  .....

I can do Demo program