Results 1 to 2 of 2
  1. #1
    bet is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    6

    urgent! replace "-" with nothing


    I am running Window7, Access2010. I have a table with several columns. I need to search for "-" and replace it with nothing. For example, data in the column is 12-345, I need to replace the "-" to nothing and data becomes 12345. I have used sendkeys with replace in Access97 and now it doesn't work anymore. Can someone please help? It is time critical. Thank you.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Use the built-in Replace() function.

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

Similar Threads

  1. Replies: 6
    Last Post: 07-25-2012, 06:42 AM
  2. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM
  3. Replace "," with " "
    By jgelpi16 in forum Programming
    Replies: 8
    Last Post: 08-30-2010, 07:15 PM
  4. replace values with "indicators"
    By JoeMap in forum Reports
    Replies: 3
    Last Post: 06-16-2010, 10:19 AM
  5. replace a empty field with the word "none" how??
    By techexpressinc in forum Queries
    Replies: 1
    Last Post: 01-15-2010, 11:02 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