Re: Question about using RTF2 control with merge

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 20:00:00 -0300

You are seeing the raw RTF encoded text. It's plain text with RTF
formatting control codes. An object, such as an RTF ActiveX control,
parses this incoming RTF encoded text to produce the formatted display
you see in the control.
:-)

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Max Moor" <maxmoor@remove_hotmail.com> wrote in message
news:Xns94D89B9E09442maxmoorhotmailcom@207.46.248.16...
> "Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebansdotcom@linvalid.com>
> wrote in news:eEEglkJLEHA.2260@TK2MSFTNGP09.phx.gbl:
>
> > 1)
> > Programmatically parse the RTF encoded string data directly which is
> > available via the RTFText property.
> > Dim s as String
> > s = Me.NameofRTFcontrol.Object.RTFText
> > ' Do your parsing(search and replace here)
> > Me.NameofRTFcontrol.Object.RTFText = s
>
>
> Hi Stephen,
>     Thank you, Stephan!  This was just what I needed.  I parse the
> RTFText, then save it away.  I am curious...  The saved text has the
proper
> info in it.  I know this because it's there when I print it out.  In
the
> table where I store it, however, it still just looks like some weird
path.
> I assume this is either because of how an rtf document is stored, or
how
> it's displayed in a grid view (maybe both).  Is there a quick answer
to why
> it looks so differnt in the two places?
>
> - Max

Quantcast