Results 1 to 3 of 3
  1. #1
    mkrylataya is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Oct 2016
    Posts
    3

    How do I complete a mass edit?

    I have a table that includes a field for postal code. When the database was designed, the creator did not set the format rule for the field which resulted in inconsistent postal code format. Some records include postal code entered in the format "X1X1X1" while others have it entered as "X1X 1X1". Is it possible to create a query to find the records in the second format and remove the space in between so all the records show the postal code as "X1X1X1"?

    Thank you in advance!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Yes.

    You could run an Update query to update the postal code.


    Update tblYourTableName
    Set PostalCode = Replace(PostalCode," ","")

    BUT

    Backup your database first. Do some testing before manipulating your production data.

  3. #3
    mkrylataya is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Oct 2016
    Posts
    3
    Thank you for your response!
    I am a newbie and not sure how to exactly do it... Do I just input this as a code?

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

Similar Threads

  1. Sending Mass Email from Query
    By lewis1682 in forum Programming
    Replies: 13
    Last Post: 08-24-2013, 01:40 PM
  2. Mass Append using check boxes
    By brow1726 in forum Forms
    Replies: 9
    Last Post: 12-13-2012, 12:36 PM
  3. VBA to Mass Import from Excel
    By Kimbertha in forum Programming
    Replies: 1
    Last Post: 07-27-2012, 12:22 PM
  4. How to import a mass set of xls files
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 11-24-2010, 06:25 PM
  5. Mass enrollment form
    By Ted C in forum Forms
    Replies: 1
    Last Post: 07-26-2010, 01:45 PM

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