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.

How to reformat serial IDs?

Featured Replies

I have inherited a table with about 5000 records:

In about half of them, the auto-entry serial (number) IDs are formatted “0000001234”.

In the other half, the auto-entry serial (number) IDs are formatted “TE0000005678”. There are no duplicates, the only difference is that some have the “TE” in them.

Question 1: Is there an easy way to strip away the “TE” from the IDs that have “TE” and not bother the others?

Question 2: Is it a best practice to set the auto-entry serial number validation to “unique value”?

TIA

FMA9 on Win XP

Fun with text functions. You're going to do a Replace, here's one possible calc:

If you isolate the "TE" records first:

Replace ( ID ; 1 ; 2 ; "" )

or maybe safer, this will work even with all found:

Substitute( ID ; "TE" ; "" )

Answer 2: Whenever you use unique validation, FileMaker has to scan the index every time you make a new record. With a few thousand records that's not a big deal. But what about 100k records etc? I wouldn't recommend it unless you have a specific reason to use it.

  • Author

Thank you! "Substitute" worked perfectly.

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.