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.

Featured Replies

  • Newbies

Special thanks to MatthewF for helping me get started.

 

I have form that will allow single input of serial numbers or allow for batch adding thanks to MatthewF

 

The problem is currently I am using a prefix number then adding it to a number (rNumber)+sNum  but I want the number part to be a defined length like 4 digits or 5 digits etc but if i have "0" in the rNumber it simply drops it or if it turns over it adds a digit.  (rNumber= 003 becomes 3 or rNumber= 999 becomes 1000 when incremented instead of 000)

 

current script in the calculated field is

Left (serialPrefix; Length (serialPrefix)  ) & Right (serialPrefix; 1) +rNumber+sNum

What I would like is if you put 0003 in the rNumber field it will recognize that the serial number is starting on  3 but that the number part needs to be 4 digits long

 

Sample serial number would look like this

UR12P13X0023

serialPrefix=UR12P13X

rNumber=0023

Serials master.zip

Solved by doughemi

Go to solution
  • Solution

What about

 

Let(

num = rNumber +sNum;

serialPrefix & Right("00000" & num;$$numDigitsDesired)

)

 

Substituting your desired number of digits for $$numDigitsDesired.

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.