Results 1 to 3 of 3
  1. #1
    Hayley_sql is offline Novice
    Windows XP Access 2000
    Join Date
    Sep 2009
    Posts
    1

    Question Removing all letters or all numbers from string

    I would like to create an address matchkey, so remove all letters from a string. Then remove all numbers and vowels in the string, then extract first 4 characters of remaining letters. Put selected numbers and letters back together in a new field. Have code to something similar in sql, but currently am limited to working in access.



    Any suggestions?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How about an example of some sample data?

  3. #3
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    Are you trying to create a soundex search? If so there is an example in this http://www.access-programmers.co.uk/...d.php?t=173710 link.

    David

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

Similar Threads

  1. replace characters in a string
    By blazixinfo@yahoo.com in forum Access
    Replies: 6
    Last Post: 08-06-2009, 03:36 PM
  2. Removing the delete prompt.
    By botts121 in forum Programming
    Replies: 4
    Last Post: 06-26-2009, 11:45 AM
  3. Aligning a string vertically
    By Divardo in forum Queries
    Replies: 3
    Last Post: 06-10-2009, 11:19 AM
  4. removing record from form
    By rsearing in forum Programming
    Replies: 7
    Last Post: 05-14-2009, 10:34 PM
  5. Extract numbers from text string strored in a field.
    By khabdullah in forum Programming
    Replies: 2
    Last Post: 12-23-2007, 06:55 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