Hi all:
Here is the problem I am trying to solve. I have two tables....one is our current clients table from one data source and one is our current clients table from a different data source (different application being used in our office). I created a relationship between the tables based on the full name of the client. I have 500 records in the forst table and close to 700 in the second table. However, when I create a join query, only about 145 records match exactly.
I realized the reason is that the names do not match exactly. For e.g. in data source one, the name is "John Smith", and in data source two the name is "John L Smith" and the names don't match. That is the only field that I can create a join on. Is there any way, I can do a closest string match in Access. I tried breaking the names into first and last and then matching records based on the last name but I am getting too many false matches. What would be the best way to solve this issue. Is there a function that takes a string in one field and finds the closest match in a different field.
Any help would be appreciated.
Thanks.
Here is the problem I am trying to solve. I have two tables....one is our current clients table from one data source and one is our current clients table from a different data source (different application being used in our office). I created a relationship between the tables based on the full name of the client. I have 500 records in the forst table and close to 700 in the second table. However, when I create a join query, only about 145 records match exactly.
I realized the reason is that the names do not match exactly. For e.g. in data source one, the name is "John Smith", and in data source two the name is "John L Smith" and the names don't match. That is the only field that I can create a join on. Is there any way, I can do a closest string match in Access. I tried breaking the names into first and last and then matching records based on the last name but I am getting too many false matches. What would be the best way to solve this issue. Is there a function that takes a string in one field and finds the closest match in a different field.
Any help would be appreciated.
Thanks.