Results 1 to 4 of 4
  1. #1
    DougsGraphics is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Location
    New Mexico
    Posts
    11

    What tags and style attributes are supported in ACCESS RTF?

    So I found a 4-year old post regarding HTML tags supported by Access 2007 for formatting of RTF.

    That post states that the supported tags are limited to:

    <div>,<font>,<strong>,<em>,<u>,<ol>,<ul>,<li>,<blo ckquote>

    And, styles/attributes per tag:



    <font>: face, size, color, style(with BACKGROUND-COLOR only)
    <div>: align, dir

    I have been doing some hit and miss format attempts and maybe this really is it? Very limited if that is indeed the case.

    I have a project where I would really like to be able to format some text (stored in a memo field) as an HTML table when displayed in an RTF report field. To try and display the information any other way which clearly represents the relation is just ugly and a lot of work, but may be necessary if I cant figure this out. It is clear that HTML table tags are not recognized, and I can't come up with a combination using <DIV> that will work since it appears most of those style attributes (like float) are ignored. Has anyone dug into what Microsoft really supports? I can't seem to find an authoritative source anywhere that makes clear what is and is not supported regarding ACCESS RTF.

    Regards,
    Doug

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    https://support.office.com/en-us/art...c-9d8dca824630

    I believe the format supports all the functions available from the formatting toolbar. I have tried using HTML like tags and it is as you say... complete crap

  3. #3
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    My experience on HTML in Access is limited to formatting email via COM, but I can say that
    Code:
    <P> and <BR>
    and their ending counterparts are compatible. Probably doesn't help a bunch, but then again...

  4. #4
    DougsGraphics is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Location
    New Mexico
    Posts
    11
    Thanks to both of you (Micron and Perceptus) for taking time to respond. Yeah, MS has given us crap! I've been testing lots of different tags (current and deprecated), but their idea of Rich Text just isn't all that "rich". So, I'm heading down the path to rethink my options on how to store and display this specific type of data. I'm thinking maybe insert table tags (<table><th><tr><td>) to define the tabular items in the data and then programmatically swap that all over to a monospaced font, calculate and insert set spacing and returns, use underlines on the heading rows, etc. to generate a tabular appearance in the output report. Its a real pain, but probably the best way to go in the end. At least I can achieve the display my customers would like, and should MS ever wake up, the formatting tags are already there and correct.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 03-04-2016, 10:08 AM
  2. Replies: 0
    Last Post: 11-19-2014, 05:47 AM
  3. Replies: 5
    Last Post: 12-17-2013, 11:37 AM
  4. Replies: 3
    Last Post: 05-15-2013, 02:49 PM
  5. attributes out of order
    By Dornenhexe in forum Queries
    Replies: 9
    Last Post: 07-12-2010, 02:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums