Solved

Select partially matching records

Posted on 2004-04-20
4
163 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
Comment Utility
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
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now