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

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

Recommended Posts

Posted

Does anyone know a good way to test for both Date AND Time Modified and then delete the earlier Duplicates after an Import?

Thanks!

Jeffrey Ellis

  • 1 month later...
Posted

In an unsorted database, the earliest records are at the "top."

Find the duplicates, then delete all but the last one.

Posted

Does the data that you are importing have date and time modified already or do you have it set up in FileMaker?

If you have it set up in FM it will depend entirely on how the data you brought in was sorted.

If the data already had date and time look at 10-13 of the 5.0 users guide. It gives you a basic example of how to find and delete duplicates. You would want to sort in descending order to keep the oldest.

Beltro

Posted

Make a calc field and set it to Status(CurrentRecordID). Since this is a permanent number, no matter what records have been added or deleted, the earliest records will have the lowest number. Sort by whatever criteria you need to look for the duplicates, but also sort secondary by this record id in decending order. The newest record for each set will be at the top. Run a standard script to delete duplicates, only the newest will remain. However, this will only work with if the originals have been left alone. Otherwise, sort by the unique field, then date descending, then time descending. The newest will be at the top.

  • 8 months later...

This topic is 8615 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.