Reputation: 528
I have a ms access 2013 database, Into my database I have a table, it looks samthing so :
my text1 Is an Ole Object date type, here's a rtf text. elemple :
{\rtf1 {\rtlch\fcs1 \af31507 \ltrch\fcs0 \insrsid14841988 Hello}}
if I write this text into rtf file and I open it with Word, the file Word have write "Hello" text. How can I create with msAccess 2013 an rtf file, or to show into a report this column text ?? Which is the best way to show this column text??? Thank you a lot
Upvotes: 0
Views: 8529
Reputation: 123419
Probably your best option for the future would be to
Text1_NEW
as Long Text
(previously known as Memo
) with its Text Format
property set to Rich Text
.Text1
field into HTML-encoded text and save it in the Text1_NEW
field.Text1
field and rename the Text1_NEW
field to Text1
.Then you could use the "rich text" Long Text
field with a regular Text Box control in Access 2013.
For an idea as to how you might actually convert the RTF-encoded text to HTML-encoded text, see my other answer here. That answer uses Word to save an RTF document to plain text, but it could just as easily save the document as HTML. Do note, however, that Word tends to produce rather bloated HTML documents, so check the results of a small test before performing a wholesale conversion.
Upvotes: 2