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

    Parsing and Replacing

    I have two tables. the first table has 1 field records of strings that vary in overall length and each string has many spaces and many parenthesis. Each of these strings has multiple occurences of substrings, all different within the string. I have another table that has 2 field records of each substring, the substring along with its respective description. what I would like to do is replace all instances of the substring in the first table's records with the substrings description for the second table and insert into a results table.

    Example:
    1st table record value: Fred or Jane and (bob or Alice) and not (bill or joey).
    2nd table records: Fred/Tall, Jane/Redhead, Bob/Bald, Alice/short, Bill/glasses, Joey/mustache

    result being: tall or redhead and (bald or short) and not (glasses or mustache).

    I am an amateur with vba so be nice

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936

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

Similar Threads

  1. Parsing Minutes
    By twildt in forum Forms
    Replies: 5
    Last Post: 01-24-2014, 03:58 PM
  2. Parsing data
    By crowegreg in forum Queries
    Replies: 9
    Last Post: 09-23-2013, 03:34 PM
  3. Parsing a customer ID
    By Reaper in forum Programming
    Replies: 1
    Last Post: 03-06-2013, 10:07 AM
  4. parsing for addition
    By imintrouble in forum Reports
    Replies: 6
    Last Post: 10-27-2011, 03:00 PM
  5. XML Parsing Error
    By pb45102 in forum Access
    Replies: 2
    Last Post: 09-11-2011, 10:20 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