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.

Need A Leading Zero

Featured Replies

I need to be able to add a leading zero to a number ONLY if the number is a single digit ex. 1 needs to be 01 but 12 can stay as is. Any ideas out there?

Try:

SerialIncrement ( "00" ; Number )

Will this work? The SerialIncrement function is targeted at TEXT fields, not number fields.

It will work, provided the result is set to type Text (numbers do not have leading zeros).

---

I should add that this will also work with a Number result (provided it's not formatted as Decimal), since Filemaker is pretty tolerant regarding what can be entered into a Number field. But eventually, if there are leading zeros then the real type is Text, and it would be better to stick to that.

Edited by Guest

  • Author

Perfect! Thank you so much!

I know this has been solved already, but here is another way to accomplish this:

Right ( "00" & Number ; 2 )

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.