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

How do I pad a number to ensure that it is always atleast 4 digits?

The original DOCID is in the format of 0000. There is a field NumPages.

So if on record 1, the DOCID = 0005, and the Numpages is 6, i have a script which basically runs and creates records with

0005 - 1

0006 - 2

0007 - 3

0008 - 4

0009 - 5

0010 - 6

but in reality it creates it as

0005 - 1

6 - 2

7 - 3

8 - 4

9 - 5

10 - 6

See the attached for a better explanation.

I was thinking of using the count characters but I think I'm going about that the wrong way.

login and password are both "admin"

TIA

example.zip

Right("0000"&DocID;4)

is the general formula for padding zeroes onto a number

  • Author

doh! something so simple.. thanks!

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.