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.

Duplicate record check?

Featured Replies

  • Newbies

Is there a script that could check when entering a number if it has been used? For Instance we assign unique inventory numbers (1 letter then multiple numerals) such as

B12345 to each entry.

I was hoping there was a script that could alert us when we enter a number that has already been used. My guess is it would have to run after the number has been completely entered in the field so it wouldn't keep alerting us as we typed at B1, then at B12, B123 etc, etc.

Any help would be appreciated and if anyone has a solution to my post the other day about the endless new record script problem that would be great

Cheers

Dino

You dont really need a script but you can use field validation instead. However, if these are unique records, why does the user have to manually enter a record number anyway? Why not use a RecordID field and then have another field that displays something like "B" &RecordID. This sample being overly simplified of course, and not saying you shoudl hardcode the "B" actually.

This can be easily accomplished by a "self join" in you relationships graph.

Create a self join on the field that you want to check to see if it's been used. When you run your "Save" script have it check the second table occurence to see if it's empty. If it's not, you've got a duplicate entry.

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.