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.

Sequential Numbers Preceeded by Zeros

Featured Replies

  • Newbies

I'm trying to add sequential numbers to a document. The numbers need to go from 0001 to 9999. I have the numbering all figured out but, I can't figure out how to make the zeros print without adding a decimal point. (Ex; 0001, 0002, 0003 etc.)

On the Mac I changed the field to format as decimal and set the fixed number of decimal digits to 3. Then I deleted the "." from the decimal separator box. Not very sophisitcated but this worked fine and just left a small space where the decimal would be but, when I view and print the same file on the PC a small square appears where the decimal should be!

Can ya help me out??

Change the field to text. You don't need a number field unless you'll be performing calculations on it, and even then you can easily convert it when necessary by using TextToNum(field). Then have it auto-enter serial numbers starting from 0001.

  • Author
  • Newbies

Thanks for the reply... I DO need to do calculations on the numbers; each page of the document has nine numbers. I have a sequential number set on each page to advance by 9 as each new record is added. The individual numbers are set to calculate so that number1=pagenumber, number2=number1+1, number3=number2+1 etc.

My starting number is 0001. I have "number1=pagenumber" set to text and the number displays correctly; 0001. When I calculate number2=number1+1 and set the result to text the result is "2" and when I set the result to number the result is "2000"

Do I need to use the TextToNum or NumToText?

Use Right( "0000" & NumToText( numberX + 1 ), 4 )

  • Author
  • Newbies

Fabulous!!!

Thank you for your help!

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.