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.

Finding duplicates A.B.C. <---> ABC

Featured Replies

In order to prevent users to create new account for existing clients, I already had "installed" a find duplicate using a seljoin Clients:g_name ???:Clients:name.

But obviously, ABC & A.B.C aren't duplicate, nor FA.MI.LY & FAMILY.

My first thought was of using a calculation for a new "multikey" global field, using a looping script to set the multikey with an "Insert Calc result"...

But as it could also be F.AMILY, FA.MILY, FAM.ILY, FA.M.LY,..., I'm sure there is another way I cannot think about.

1. Is there another way ?

2. What would be this calculation like - I'm stuck with Left("."...) ?

Thank you very much.

Hi Ugo,

If it is only the periods "." that are the problem, why not incorporate a substitute(yourfield, ".", "") into the find for duplicate. You could also gang up this to include other problem characters such as "-"

Substitute(Substitute(Substitute(yourfield, ".", ""), "-",""), ",","")

HTH

Lee

smile.gif

  • Author

Hi Lee,

After some thinking, I came up with that too.You're right for the "-" as this is also a parameter. Thanks a lot.

Here is what I have in mind right now.

Here are the fields in Clients ???

n_Name

g_Name

c_NameAbbrev = Substitute(Substitute(Substitute(n_Name, ".", ""), "-",""), ",","")

c_gNameAbbrev = Substitute(Substitute(Substitute(g_Name, ".", ""), "-",""), ",","")

New relationship would be

When a new entry is processed, using the "New Entry Layout" with global fields, the script search for duplicates using relationship Clients:c_gNameAbbrev::Clients:c_NameAbbrev instead of g_Name:Name that wasn't reliable.

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.