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.

Checking for duplicate fields

Featured Replies

Hi people. I need some advice on solving this problem.

I have two fields in my contact database called "Company Name" and "Client Name". What I need is a sure fire way of checking that when a user enters a piece of data into a record, that the user is not entering contact details that are already in the database. Basically, I need something to check that if the user has entered a company name and a client name combo that has already been entered into the database before, and if it has, spring up some kind of alert.

Hope this makes sense, and someone can come back with an answer that will solve all my problemos!

Thanxs people,

Steve Griff

One way would be to make a calc field that combines the two names:

ComboLinkCalc = Company Name & " " & Client Name

then make a self relation to that field.

then in the field validation, have something like this:

if( count(SelfRelation::ComboLinkComboLink), 1, 0 )

If there is a match for the current combo, there will be a count of > 0 for that relation, if < 1 then the validation wouldn't go through.

HTH

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.