I have an RTF box and an edit box on a form. I type text into the RTF box and format it. I click on a button that says
THISFORM.EditText = THISFORM.oleRTF.Text
THISFORM.Edit1.REFRESH()
The text shows up normal, and the debugger says .EditText is a character string with no formatting.
That could be a way of stripping the RTF. Another way is don't put it there to begin with. Just put in straight text.
-Michelle
>Imagine I'd like to print that memo containing plain text in RTF format.
>Do you have any idea how I can do it?
>
>Here is what I found on Crystal Report Web site
>
>Problem:
> A "Text" field from MS SQL Server, that contains data in RTF (Rich Text Format), is reporting as a path or odd data instead
> of the true
> database value.
> For example,
> Sample RTF text from the database is displaying on a report like this:
> {\rtf1\ansi\deff0\deftab720{\fonnttbl
>
>
> Solution
> No recognition of RTF type database fields is currently supported in Crystal.
>
>
> KeyWords RTF, text field, odd data, path
>
> HKH
> Hot Stuff
> c2001776
>
>
>So any other suggestion?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement