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.

Format a Number in a Calculation?

Featured Replies

Hi Guys,

I've got a small problem:

Got a Global field giving me an Invoice Nr. now I would like to make it look better, instead of just "1" I would like it to be "0001", "0002"..."0010" etc. I've also got a Date conbined in it, like this:

 Right( "0000" & Year ( Get ( CurrentDate ) )  &  Right (  Month ( Get ( CurrentDate ) ); 2 ); 4 )  & RGNr::RGNr & "-1" 

its the "RGNr::RGNr" wich is a global field to be formated. The example shown looks like this now: "04111-1" to be: "04110001-1 Is this possible in a calculation?

Thanks!

  • Author

I'm so thick, I've got it! blush.gif

Sorry, just ignore this Post!

It looks like this now: cool.gif

 Right( "0000" & Year ( Get ( CurrentDate ) )  &  Right (  Month ( Get ( CurrentDate ) ); 2 ); 4 ) & Right("0000" & RGNr::RGNr; 4) & "-3" 

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.