Results 1 to 2 of 2
  1. #1
    warrenk is offline Novice
    Windows 7 Access 2007
    Join Date
    Mar 2010
    Posts
    3

    Inserting HTML Code

    I have a memo field (rich text). I am trying to enter html code <br> in a replace command:

    ie. Replace([File1]![Field1],'<br><br>','<br>')



    What ends up happening is I am getting the line breaks...but the actual code is not inserted into my field. Any advice?

    Thanks for any help!

  2. #2
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    1) Is the following correct?
    Before you run the replace, you can see <br><br>, and after the replace, you see invisible carriage returns/linefeeds in field1?
    2) How precisely are you executing the replace? Is it part of an SQL query, VBA, or what?
    3) What is the exact code that does that?

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

Similar Threads

  1. Add javascript and html code in form
    By ashu.doc in forum Forms
    Replies: 11
    Last Post: 09-06-2012, 05:20 AM
  2. HTML and VBA
    By tylerg11 in forum Forms
    Replies: 1
    Last Post: 08-23-2012, 05:53 PM
  3. ODBC Html
    By trenta7 in forum Import/Export Data
    Replies: 1
    Last Post: 02-08-2011, 08:55 AM
  4. HTML Editor
    By mystifier in forum Forms
    Replies: 3
    Last Post: 11-11-2010, 05:51 AM
  5. HTML E-mail Using VBA
    By graviz in forum Programming
    Replies: 1
    Last Post: 12-09-2009, 08:52 AM

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