Solved

Select partially matching records

Posted on 2004-04-20
4
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 10868956
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

763 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