How can I replace " " in all records with a new line in a memo field in Access 2007?

Posted on 2008-11-11
Last Modified: 2012-05-05
I impored an HTML table & it has   where I'd like a new line.  How do I make that happen?  It's easy in Word, but there are no find/replace features Access for formatting. Guess I have to do an upate querry.
Question by:leslieinva
    LVL 75

    Expert Comment

    by:DatabaseMX (Joe Anderson - Access MVP)
    Make a backup up first, then try this:

    UPDATE Table1 SET Table1.FIELD1 = Replace([FIELD1]," ",Chr(13) & Chr(10));

    LVL 22

    Expert Comment

    by:Kelvin Sparks
    Try using the Replace function on the data


    LVL 82

    Accepted Solution

    backup your db and try:
    update tablename set fieldname=Replace(fieldname,' ',Chr(10) )

    Author Closing Comment

    That worked!
    LVL 75

    Expert Comment

    by:DatabaseMX (Joe Anderson - Access MVP)
    I believe the Accepted answer is exactly what I posted first ....


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    In the previous article, Using a Critera Form to Filter Records (, the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
    Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
    Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now