Results 1 to 3 of 3
  1. #1
    annah is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2015
    Posts
    5

    How to identify similar (not exact match) records and assign them a common ID?

    I have a set of data which contains vendor names. There are entries that are exact matches, and entries that are close matches. For example I could have "ABC Company," "ABC Company Inc," "ABC Company - City1," and "ABC Company - City2."

    From this data set, I want to create a table that associates each of these entries with the same ID number, so that I can analyze the other fields in the data set as a single vendor instead of four different vendors.

    I will be continually adding data so I would like to be able to run this periodically and not just once.



    Any ideas?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You can try a union query that has 2 queries; 1 for exact and 1 for wildcards.

    select * from table where [field] like "*" & forms!myForm!txtBox & "*"

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

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

Similar Threads

  1. Exact Match, Specified Criteria
    By Almira3 in forum Queries
    Replies: 3
    Last Post: 02-17-2016, 08:08 PM
  2. Exact Match Query
    By KCC47 in forum Queries
    Replies: 1
    Last Post: 11-07-2014, 10:21 AM
  3. Identify and Assign Value to Minimum
    By 0REDSOX7 in forum Access
    Replies: 2
    Last Post: 10-29-2012, 08:20 AM
  4. Query for similar but not exact data
    By markdudley in forum Queries
    Replies: 4
    Last Post: 03-09-2012, 01:02 PM
  5. Exact Match Hyperlink
    By JeffG3209 in forum Access
    Replies: 5
    Last Post: 06-23-2011, 07:46 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