Results 1 to 2 of 2
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    How to remove extra spaces from a field?

    Hello,

    Is there a way to remove extra spaces in a field (after data is already in the database)?



    Thanks,

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I typically use the Trim() function. Sometimes white space is in the form of a carriage return and I will use the Replace() function too, to replace vbCrLf with ""

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

Similar Threads

  1. Replies: 2
    Last Post: 04-11-2013, 06:36 PM
  2. DLookup Add extra Field
    By burrina in forum Forms
    Replies: 5
    Last Post: 12-19-2012, 03:42 PM
  3. Remove extra page from report?
    By sunny in forum Reports
    Replies: 2
    Last Post: 10-17-2012, 11:30 AM
  4. Remove blank spaces after strings in fields
    By Modify_inc in forum Access
    Replies: 8
    Last Post: 08-18-2012, 06:30 PM
  5. Extra date field update
    By georgft in forum Forms
    Replies: 0
    Last Post: 09-17-2008, 06:51 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