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.

Mark only duplicates, not the first occurance

Featured Replies

Hi folks,

I can't remember for the life of me how to script this: I want to have a calculated field that DYNAMICALLY marks only repeating duplicate records, not the first occurance of the dup.

For innstance: Case(Count(SelfJoin::ID)>1, 1, "")

This will mark all of the dups with 1, but I want to mark only the repeating ones. I'm aware of the script that does that, but I need to do this with calculated field as it must be dynamic.

Thanks for the advice

B

  • Author

Thanks Ugo, but it didn't work for me. This tags all of the records as 1, which is to be expected.

I guess I have the same problem as jasonwood from the thread you provided:

It seems to me that both of the duplicates would have a valid self relationship to eachother, so wouldn't they both get tagged?

Perhaps (and I haven't tested this) you could create a field that auto-enters an "X" (or some alert) if the self-join count is greater than one. That way, the first entry wouldn't enter the "X", but subsequent ones would.

I'm not sure how "dynamic" you need, since a record is either a dup when it's created or it isn't.

Hi,

It should work, but change it to

c_checkdupes = Case(Record_Id = SelfjoinOntheFieldYouwantToCheck::Record_Id, " ", 1) if you wish

Record_Id = the serial

Selfjoin = Name::Name (this isn't the best example, but...).

I use it everyday !!!

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.