Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it possible to find "similar records"

Featured Replies

Hello, Can anyone advise please, in Filemaker 11 is it possible to create a find script to find "similar" records in a set ?

An example would be that I have 100 records and i want to find every records where 50% of the data entered is the same.

Many thanks for any advise offered.

Hello, Can anyone advise please, in Filemaker 11 is it possible to create a find script to find "similar" records in a set ?

An example would be that I have 100 records and i want to find every records where 50% of the data entered is the same.

Many thanks for any advise offered.

http://www.filemaker.com/help/html/find_sort.5.9.html#1028377 - KB about using ! for finding duplicates

http://www.filemaker.com/help/html/find_sort.5.2.html#1028377 - KB about Find Requests

Above links should point you in the right direction.

What exactly would be considered as "50% of the data entered is the same"?

  • Author

What exactly would be considered as "50% of the data entered is the same"?

Hi I have a greeting card database which as text verses entered into a field, some of these get reused but changed slightly, I need to find a way of looking for records where the verse is reused but it would not be an exact ! duplicate, often 20% or more of the words used in the verse would change to accommodate a different gender etc.

many thanks.

Please update your Profile and include the version of FileMaker and platform (Operation System)

Lee

  • Author

Profile updated, sorry about that Lee.

Hi I have a greeting card database which as text verses entered into a field, some of these get reused but changed slightly, I need to find a way of looking for records where the verse is reused but it would not be an exact ! duplicate, often 20% or more of the words used in the verse would change to accommodate a different gender etc.

many thanks.

You may want to look into using regEx expressions or perhaps a function based on the Levenshtein distance.

Click on one of the suspected dates, and then Right Click and choose "Find Matching Records" and see that helps.

Lee

  • Author

Thank you Lee thats not exactly the result I wanted, but its far better than i have managed

Many Thanks

Look into Soundex, it's relatively standard and easy-ish to implement in FMP.

Thanks one again to Mr Edoshin.

http://edoshin.skeletonkey.com/2006/01/soundex_and_mir.html

I need to find a way of looking for records where the verse is reused but it would not be an exact ! duplicate, often 20% or more of the words used in the verse would change to accommodate a different gender etc.

This is sort of possible, but by no means simple. First, you need to turn the text into a return-separated list of words used. Ideally, this process would also eliminate "stop words" (e.g. a, an, the, at, of, etc.).

Since you don't have the advanced version, you cannot use a custom function to split the verse into words - but you could use a repeating calculation field instead.

Next, you define a self-join relationship matching on the word list. This will relate records that share at least one word with the current record.

Finally, you would use portal filtering to show only records that share at least x words with the currently viewed record.

---

Another option would be to replace words that may change with gender etc. with their "root" - then look for an exact match (assuming the word order does not change).

You may want to look into using regEx expressions or perhaps a function based on the Levenshtein distance.

Click on one of the suspected dates, and then Right Click and choose "Find Matching Records" and see that helps.

Look into Soundex, it's relatively standard and easy-ish to implement in FMP.

:no: Am I in the right thread?

i want to find every records where 50% of the data entered is the same.

Lee Smith, on 04 February 2011 - 01:14 PM, said:

Click on one of the suspected dates, and then Right Click and choose "Find Matching Records" and see that helps.

:no: Am I in the right thread?

I don't think so. It works for a lot of simple things like this. and... we didn't seem to be gaining on it the other ways.

Lee

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.