Skip 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.

How to find earliest Duplicates and delete them?

Featured Replies

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...

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

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

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

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...

what does a "standard script to delete duplicates" consist of?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.