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.

Find Original and Dup then Delete Dup

Featured Replies

[color:purple]I have a huge phone number database, I need to delete the duplicate records, tried (!) and it found the dups but also the original records. Any ideas on how to only mark the dup records for deletion? Read the other posts on deleting dups but didn't find one that addressed marking the dups.

Thanks!! Mel

Do a search in FM's online Help for finding duplicates using a self-join relationship.

  • Author

Did it, but the results are much larger than what I get when I do a Find(!). Is it necessary to have a "creation date" field, so that it will automatically delete the oldest record?

Thanks for your help, Mel

Hmmm.. should I try this?

Post: A simple duplicate remover (Topic#162164)

http://www.fmforums.com/forum/showtopic.php?tid/162164/post/162164/hl/+John+Fowler/#162164

Edited by Guest

Did you set up the relationship and calculation to return 'unique'/'duplicate'? If so, do a search for 'duplicate' records only or find '!' and then constrain the found set with 'duplicate' or 'unique'.

No date field is necessary to designate the original record. A calculation of serial = relationship::serial will return 1 for each original record because a relationship naturally refers to the first created related record, if no sort order is specified for it.

  • Author

Yay! I did it, it worked! Thank you so much!! Thats 8,000 plus records I was going to have to mark by hand if I couldn't figure this out. Thanks again.

~Mel

Create an account or sign in to comment

Important Information

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

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.