Solved

Select partially matching records

Posted on 2004-04-20
4
164 Views
Last Modified: 2008-03-06
I have two tables, with related records in each table.  Each table consists of property addresses and other property details.  The problem is, the address formatting is not consistent between the two tables.  For example,

Table A
Address:  123 Main St
Sale Price: $1,000,000

Table B
Address:  123 Main Street
Sale Price: $1,000,000

If I was to use the Find Duplicates Query Wizard, the two records listed above would not be identified as being duplicates because of the different formatting of "St" and "Street".  What I would like to do is check for matching records by comparing "123 Main" against "123 Main" which would find a match in the example given.  Additionally, is there a way that I can add a second criteria to check whether the sale price matches?  So, I guess what I am looking for is a query that will check for matching records by comparing the Sale Price fields and the Address fields, but only checking the characters up to the second space in the Address fields.

I hope this makes sense.  Thanks.
0
Comment
Question by:The_Sheckster
  • 2
4 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 10868926
You have to include the field common to both table to have an accurate result,
the unique recordID then we can make a query to find duplicates/partial duplicate on specific fields

Post the Table name and fields
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 10868956
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now