A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Compare data that do not exactly match



 
 
Thread Tools Display Modes
  #1  
Old January 15th, 2010, 11:26 PM posted to microsoft.public.access.queries
ModernGIS
external usenet poster
 
Posts: 5
Default Compare data that do not exactly match

I am in the process of comparing data from (2) different databases to find
differences in the same type of data. Example: I have customer names in one
system and a customer name in a different system and I need to make a
comparison to see if it is the same name. Lets say I have Account # 34234 in
both databases/tables and in one of them the account name is Smith, John R
and in the other is Smith, John. Since both do not fully match, it could come
back in the unmatch query. How would I do this so the query could tell that
is close to be the same, compared to account name (1) Smith, John is not the
same in account name (2) being Riley, Bob. This I unmatch I want to come back
for further investigation.
Thanks
  #2  
Old January 15th, 2010, 11:58 PM posted to microsoft.public.access.queries
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Compare data that do not exactly match

Access isn't smarted that you. If you don't have a way you can explain to
Access for resolving which values are "close enough" and which aren't,
Access won't do this.

If you were going to explain how to decide to ... say ... your grandmother,
how would you explain that?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"ModernGIS" wrote in message
...
I am in the process of comparing data from (2) different databases to find
differences in the same type of data. Example: I have customer names in
one
system and a customer name in a different system and I need to make a
comparison to see if it is the same name. Lets say I have Account # 34234
in
both databases/tables and in one of them the account name is Smith, John R
and in the other is Smith, John. Since both do not fully match, it could
come
back in the unmatch query. How would I do this so the query could tell
that
is close to be the same, compared to account name (1) Smith, John is not
the
same in account name (2) being Riley, Bob. This I unmatch I want to come
back
for further investigation.
Thanks



  #3  
Old January 16th, 2010, 12:16 AM posted to microsoft.public.access.queries
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Compare data that do not exactly match

And apparently, I aren't either ...

My response should have started out "Access isn't smarter than you."

I plead diminished capacity and ask to be properly caffeinated...

Regards

Jeff Boyce

"Jeff Boyce" wrote in message
...
Access isn't smarted that you. If you don't have a way you can explain to
Access for resolving which values are "close enough" and which aren't,
Access won't do this.

If you were going to explain how to decide to ... say ... your
grandmother, how would you explain that?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"ModernGIS" wrote in message
...
I am in the process of comparing data from (2) different databases to find
differences in the same type of data. Example: I have customer names in
one
system and a customer name in a different system and I need to make a
comparison to see if it is the same name. Lets say I have Account # 34234
in
both databases/tables and in one of them the account name is Smith, John
R
and in the other is Smith, John. Since both do not fully match, it could
come
back in the unmatch query. How would I do this so the query could tell
that
is close to be the same, compared to account name (1) Smith, John is not
the
same in account name (2) being Riley, Bob. This I unmatch I want to come
back
for further investigation.
Thanks





  #4  
Old January 16th, 2010, 08:54 PM posted to microsoft.public.access.queries
Wilpeter
external usenet poster
 
Posts: 4
Default Compare data that do not exactly match

Since both tables contain Account# (and presumably are table-linked), try
making Query containing both tables and Names & Account# from each. That
limits list to matched Account#s. Fields must be Shown in output. Then make
2nd Query containing first Query and the (reliable) Table. Include Account#
and Names from each source, with criteria for Name field [Reliable].[Name]
[QueryName].[Name]
That should at least give you the questionable list to validate.

"ModernGIS" wrote:

I am in the process of comparing data from (2) different databases to find
differences in the same type of data. Example: I have customer names in one
system and a customer name in a different system and I need to make a
comparison to see if it is the same name. Lets say I have Account # 34234 in
both databases/tables and in one of them the account name is Smith, John R
and in the other is Smith, John. Since both do not fully match, it could come
back in the unmatch query. How would I do this so the query could tell that
is close to be the same, compared to account name (1) Smith, John is not the
same in account name (2) being Riley, Bob. This I unmatch I want to come back
for further investigation.
Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.