473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Compare two fields and to find the look-alike record

Dear reader,

For matching of two fields it is required that the fields has the same
content.

But now I have the situation that two text fields has not precisely the same
content but there is some minute deference.

Now I am looking for a possibility to compare the two fields and to find the
look-alike content of the field.

Is there same code available to do this?

Thanks for any help.

Kind regards,

Simon van Beek

Apr 26 '06 #1
3 6174
Hi, Simon.
But now I have the situation that two text fields has not precisely the
same
content but there is some minute deference.

Now I am looking for a possibility to compare the two fields and to find
the
look-alike content of the field.
I'm not sure I understand your question, but perhaps you are trying to match
fields in a join expression in a query? If so, here are two examples of
doing a join on two similar fields. The last three characters in the Task
field may or may not match the three numbers in the TrainingCode field, so
the Right( ) and CInt( ) methods are used to manipulate the string value in
the Task field:

SELECT *
FROM tblTrainingCodes INNER JOIN tblTasks ON
tblTrainingCodes.TrainingCode = CInt(Right(tblTasks.Task, 3));

A wildcard can be used, as well:

SELECT *
FROM tblTrainingCodes INNER JOIN tblTasks ON
tblTasks.Task LIKE "*" & tblTrainingCodes.TrainingCode;

Much of the time, experimenting with different join expressions in Jet will
reveal an error message of "Join expression not supported."

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"Simon" <S.******@HCCnet.nl> wrote in message
news:44**********************@dreader29.news.xs4al l.nl... Dear reader,

For matching of two fields it is required that the fields has the same
content.

But now I have the situation that two text fields has not precisely the
same
content but there is some minute deference.

Now I am looking for a possibility to compare the two fields and to find
the
look-alike content of the field.

Is there same code available to do this?

Thanks for any help.

Kind regards,

Simon van Beek

Apr 27 '06 #2

A couple of weeks ago in this group, there was a posting and a few replies
that did just this. It discussed some algorithms that compared similar
strings and the discussion was about the speed of the algorithm in comparing
large tables.

Unfortunately, I don't have time to look for this right now, but you can try
the archive of this group searching in google.

Bas Hartkamp.
"Simon" <S.******@HCCnet.nl> schreef in bericht
news:44**********************@dreader29.news.xs4al l.nl...
Dear reader,

For matching of two fields it is required that the fields has the same
content.

But now I have the situation that two text fields has not precisely the
same
content but there is some minute deference.

Now I am looking for a possibility to compare the two fields and to find
the
look-alike content of the field.

Is there same code available to do this?

Thanks for any help.

Kind regards,

Simon van Beek

Apr 28 '06 #3

This discussion was between sat 20 march and mon 22 march this year.

search google newsgroup for : help needed for implementing fuzzy logic
(7 messages in total)

Bas Hartkamp.

"HS Hartkamp" <ha**************@wanadoo.nl> schreef in bericht
news:44***********************@news.wanadoo.nl...

A couple of weeks ago in this group, there was a posting and a few replies
that did just this. It discussed some algorithms that compared similar
strings and the discussion was about the speed of the algorithm in
comparing large tables.

Unfortunately, I don't have time to look for this right now, but you can
try the archive of this group searching in google.

Bas Hartkamp.
"Simon" <S.******@HCCnet.nl> schreef in bericht
news:44**********************@dreader29.news.xs4al l.nl...
Dear reader,

For matching of two fields it is required that the fields has the same
content.

But now I have the situation that two text fields has not precisely the
same
content but there is some minute deference.

Now I am looking for a possibility to compare the two fields and to find
the
look-alike content of the field.

Is there same code available to do this?

Thanks for any help.

Kind regards,

Simon van Beek


Apr 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stephen | last post by:
I have to write a .Net application which can compare SQL Databases including things like: - DB structure, PK's, FK's, indexes and types of indexes i.e. should be able to detect if the same index...
2
by: Rachel Curran | last post by:
Please can anybody help me with the following: I have two separate excel spreadsheets that I have imported into access, each sheet holds the same fields. Both spreadsheets hold all information...
5
by: Megan | last post by:
Hi everybody- I'm helping a friend with a music database. She has an old one and is creating a new one. She wants to compare records and fields in the old database with records and fields in the...
1
by: Prakash RudraRaju | last post by:
Hi, I have recently migrated MSAccess Tables (nearly 120) to MySQL. To test successful migration I want to compare all tables. I have linked MySQL tables through ODBC connection. I want to...
8
by: Vincent | last post by:
has any one seen a program to compare mdbs'. I have ran into a few of them, but none seem to really do that job. Basically what I need to do is, take 2 access mdb's and check the differences...
9
by: geronimo_me | last post by:
Hi, I am atempting to compare part of a field with the whole of another field in access. Is this possible? Basically I have 2 tables with the following info: Table1 Field1 = MR.
4
by: Dave | last post by:
Does any one know how to compare pixels in a picture, or a dll that will allow me to do so. I need to be able to find objects in a picture. Like a table, chair, car etc. Compare a given picture say...
3
by: dotnetnoob | last post by:
i have two strings from xml file str1 = 800.7415_801.101_8.115_216.12 str2 = 800.7415_801.101_8.115_216.12_217.570 the first stream represent a xml file 800.7415_801.101_8.115_261.12.xml...
1
by: Tbell | last post by:
Hello I admit I am somewhat of a beginner at this, but I am amazed as to why none of the examples and other help I have found have allowed me to get this working. I have two tables, table1 and...
3
by: alter.fire | last post by:
Hey im trying to do the following in PHP: Connect to 2 different databases, one named complete and one incomplete. My goal is to find whats missing in the "incomplete" database. The fields...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.