Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Find & Delete- but not based on primary key?


This topic is 4960 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi everyone- I have a database where there are duplicate contacts that have been entered by different users, which means that records with identical first name and last name fields have different unique IDs. I have found scripting solutions (I'm a scripting beginner and just learning the ropes) for identifying and deleting duplicate unique IDs, but how do I script for a search that will identify records that have both identical first name and last name fields and delete the duplicate? This is for FMP11 on a mac. Thanks so much!

Posted

Create a calculation field that concatenates the first and last name fields, and search for duplicates on this field. (Search for duplicates by entering ! into the field.)

However the plan is flawed. Removing duplicates is significantly more complicated than just comparing names.

There WILL be different people with the same name, and telling them apart is not always easy. Usually, concatenating the city name to the field can help identify uniqueness. I've also found that mobile phone numbers are good for identifying people even if their name changes (particularly women who often use both their married and maiden names in different circumstances).

I'd hesitate scripting a process that *always* removes duplicates automatically. I usually select the duplicates and present them to a person for deletion.

This topic is 4960 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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