RBase has no control over what you put in an RichText control.
How is displays is how it is marked up.
Write your Varchar Data to a diskFile then open it with Wordpad (not Word) so 
you only get the minimalist RTF markup.  If your Varchar/RTF data displays in 
Wordpad correctly, then it is likely something on your end in the report.  If 
it is cut off in Wordpad as in RBase, then the markup is screwy.

Here's everything you were afraid to know about RTF:

http://msdn2.microsoft.com/en-us/library/aa140277(office.10).aspx


----- Original Message ----- 
From: "Ted Lienhard" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, February 11, 2008 2:19 PM
Subject: [RBASE-L] - Re: Printing RTF in a report


I am attempting to print RTF data with control codes (font, color, size, etc.) 
which is stored in a VARCHAR column.  The field I am trying to use is located 
on a report main page, which is followed by a sub-report in chld mode, 
displaying a second table.  I am using 7.6.3.30116, but I had the same problem 
in earlier versions.

I have tried a DBMemo field, which does not print RTF formatted text (only 
control codes), but does print all the data; and I have also tried using a DB 
Rich Text field, which displays the text correctly, but does not always print 
all the data in some rows.  The data which is partially printed is of various 
lengths and does not seem to be connected to any control codes (the text ends 
right after normal text characters, never right after control codes).

Shift with parent and the other properties do not seem to have any effect on 
this problem.

I do not think this is an RBase problem, but is a Ted problem...but I seem to 
be stuck.  Any ideas are appreciated!

Thanks!
Ted





Ted Lienhard CNE NCT
Golden Valley Consulting


--------------------------------------------------------------------------------


I am attempting to print RTF data with control codes (font, color, size, etc.) 
which is stored in a VARCHAR column.  The field I am trying to use is located 
on a report main page, which is followed by a sub-report in chld mode, 
displaying a second table.  I am using 7.6.3.30116, but I had the same problem 
in earlier versions.

I have tried a DBMemo field, which does not print RTF formatted text (only 
control codes), but does print all the data; and I have also tried using a DB 
Rich Text field, which displays the text correctly, but does not always print 
all the data in some rows.  The data which is partially printed is of various 
lengths and does not seem to be connected to any control codes (the text ends 
right after normal text characters, never right after control codes).

Shift with parent and the other properties do not seem to have any effect on 
this problem.

I do not think this is an RBase problem, but is a Ted problem...but I seem to 
be stuck.  Any ideas are appreciated!

Thanks!
Ted





Ted Lienhard CNE NCT
Golden Valley Consulting 


Reply via email to