AFAIK, You can't do that with RTF. It's not an RBase issue either.
If you will just write two files with one word of formatted text in each and
save them, then open both of the RTF files in a text editor like notepad
and you will see why you can't combine them that way.
Rich text is just a markup language like HTML, so the effect is the same as
concantenating two complete HTML files together which combines the
description of two complete pages in one file, making it unreadable to the
engine that parses the text.
----- Original Message -----
From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, July 14, 2009 2:45 PM
Subject: [RBASE-L] - combine two blocks of RTF formatted VARCHAR data
Hi
I am trying to look up a block of formatted Varchar data from one table then
Update a Varchar column in another table that has formatted text.
First I
Set Var VLookupText Varchar = Lookuptext In Table Where ...
The data is something like this
Instructions
Be sure to do this and that
Warning, do not play in traffic
Then
Set Var VcurrentText Varchar = CurrentText in CurrentTable Where ....
Set Var VNewText = (.VLookupText + .VcurrentText)
Update CurrentTable Set CurrentCol = .VNewText Where .....
It seems that the formatted text turns into this in the Var and then the
update fails.
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil MS Sans
Serif;}{\f1\fnil\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang1033\f0\fs16
\par
I am sure there is a simple solution and I am ready for egg on my face.
please make then scrambled, not over easy!
Thanks
Marc