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.

Field validation / unique ID

Featured Replies

I have a DB with customers and related DBs tasks and contacts.

Every record has an ID. Customers have a CuID1,CuID2...and so on.

I'd like to know how to avoid duplicate IDs. If I have CuID3 in an otherwise empty DB and I want to add more records starting from CuID1, FileMaker won't skip over the CuID3 it simply creates another CuID3 record without any notices even though I've set the field to UNIQUE. If I manually duplicate a record it works fine (ID+1). I've set the RecordID field to "autoenter serial (+1), unique, prevent modification, etc". How do I avoid the duplicate ID. This is really bugging me since it totally messes up my relationships and I have to sort the mess manually.

Check out CaptKurt's July 24 discussion of unique record IDs and his suggestions in the FileMaker FAQs forum. His method bypasses the problem you describe; a problem, by the way, that will plague you forever using FMP's auto serial number feature.

Sorry, I'm on FMP's side here. If there *was* a CuID1 in the past and it's been deleted then it sould never be re-created again, because it is not unique.

The problem is that people want continuous sequential runs of ID numbers, when really it's only of aesthetic importance.

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.