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.

Serial Number field with prefix

Featured Replies

So I have a situation where I want my unique ID field to be a serial number with the prefix of "16-", with the 16 representing the year 2016.  In a perfect world this would update on January 1 of next year to "17-", but I'd be just fine with going in and updating the necessary field for it to show 17. Surely there is a way to do this, and its just me having no such luck? Any help greatly appreciated! 

I would suggest you use two fields: one that auto-enters a serial number, and one that auto-enters a calculated value =

Right ( Year ( Get ( CurrentDate ) ) ; 2 ) & "-" & SerialID

Or, if you have a Date field, you could merge it with the serial ID field and format the object to display only the YY portion of the date.

 

 

Edited by comment

Ive never been a big fan of "smart" serial numbers for use as a primary key value for a record.

human interaction with keys usually = data integrity issues.

Use smart serials for display to the user but think about avoiding them for relationships.

Just my two cents worth.

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.