Results 1 to 6 of 6
  1. #1
    lccrews is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Los Angeles
    Posts
    194

    Can you set the default value of a RTF form field to html?

    I have a table that has rich text fields and a form to go with it for data entry. I'd like to have the default value of the fields to be:
    A.
    B.
    C.


    D.

    ... But I can't get the field to display that. It just shows: A. B. C. D.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    What did you try? This works for me. "A. <br> B. <br> C. <br> D."
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    lccrews is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Los Angeles
    Posts
    194
    I'm not sure how I fixed it, but I did. It wasn't accepting html. Now it works but doesn't accept color coding html tags. I'm okay with this though; as long as I can put new lines and bold things. Thanks for the response June7 you've had a response to almost all of my issues...Thank you.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    Try:

    "<font color=""red""><b>A. <br> B. <br> C. <br> D.</b></font>"

    Note the doubled quotes, apostrophe won't work.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    lccrews is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Los Angeles
    Posts
    194
    That worked. I'm using an html translator (https://wordhtml.com) to translate my rich text to html. It doesn't work with color tags. How do you convert text to html tags?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    I don't.

    Never incorporated Rich Text into any db.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Set Default field in a form
    By rebfein in forum Forms
    Replies: 3
    Last Post: 09-13-2016, 11:37 AM
  2. Form in which each field is a default value.
    By Abacus1234 in forum Forms
    Replies: 3
    Last Post: 12-12-2015, 01:51 PM
  3. Set table.field default from a form.
    By Thompyt in forum Access
    Replies: 6
    Last Post: 10-30-2014, 02:47 PM
  4. New line in html email form field
    By srk999 in forum Forms
    Replies: 3
    Last Post: 02-18-2014, 06:34 PM
  5. Replies: 3
    Last Post: 12-13-2013, 07:39 AM

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