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.

Maintaining number format during calculations

Featured Replies

I have a field - Item #, which is calculated based on some criteria - item code, and next item #

next item # is a number in format 0001

for example an item # could be: A0001 - arising from item code & next item #

now, when i increase next item # (by next item # + 1) it goes to 2, instead of 0002 and subsequent item #'s become A2 instead of A0002.

how can i do this increment without losing the formatting I have assigned?

I think there is a function just for that - I can't remember the name of it though. I think it is something like: IncrementSerial.... I was close: http://www.filemaker.com/11help/html/func_ref3.33.83.html

  • Author

I think there is a function just for that - I can't remember the name of it though. I think it is something like: IncrementSerial.... I was close: http://www.filemaker...ref3.33.83.html

Thanks Dan!

"0001" is not a number , at least without some manipulation. 1 is a number.

Incrementing '00001' when it is defined as a text field will maintain the formatting. This is commonly done when creating serial numbers that need leading zeros for padding (because, for example, that format is required for export or whatever.)

Cheers

Stanley

  • Author

Incrementing '00001' when it is defined as a text field will maintain the formatting. This is commonly done when creating serial numbers that need leading zeros for padding (because, for example, that format is required for export or whatever.)

Cheers

Stanley

Cool, thanks for the tip. Both options seem viable!

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.