[AccessD] Access 2007 rtf fields

Doug Murphy dw-murphy at cox.net
Sat Aug 11 14:40:37 CDT 2012


I am using the RT formatting in a memo field where we store html for items
that are uploaded to EBay. I use regular html tags for the content and
display the content in Access in an text box set to RT format. The html tags
are pretty simple for text formatting, line breaks etc. The text displays
with formatting in the text box in an access form. Have not tried
superscript tags, or anything exotic. That is my limited experience with
A2010 RT formatting. Worked for my requirement.

Doug

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele
Sent: Saturday, August 11, 2012 11:42 AM
To: Access Developers discussion and problem solving
Subject: [AccessD] Access 2007 rtf fields

Hello all:

Has anyone used rft fields in Access 2007?  Are the formats quite limited
compared to 'real' rtf, like Word uses?  In particular I would like to
format subscripts and superscripts.  I'm quite confused right now.  Here's
what I've found:

1. Inserting real rtf formatting codes like "{{\rtf1 This is some {\b bold}
text} doesn't work (either pasting direct or inserting with VBA).  The field
treats the formatting codes as text.
2. Inserting (some) html codes does work: "This is <b>bold text</bold>"
formats correctly. "This is supposed to be a <sub>subscript</sub>" doesn't.
3. Copying and pasting rtf formatted code from Access 2007 to Word 2007
works.
4. Copying and pasting rtf formatted code from Word to Access works only for
the limited selection of formats shown in the Access formatting toolbar, but
not for subscripts etc.

Is is possible to use real rtf codes?
What's with the html formatting?  Is there a list somewhere of html codes
that work?

Thanks,
Doug
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list