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.

concatanating?

Featured Replies

Hello all.

I have two fields Ordernumber and line number. I want to join them together to become one number but its a bit more special than that.

order:5082544

line:050

what i want =0005082544000050

order:5082544

line:500

what i want =0005082544000500

order:5082544

line:5000

what i want =0005082544005000

Although not a great way of doing it I was doing this with some if statemants depending on the length on the ordernumber but something tells me this is not the best way of doing it.

Any thoughts.

Jord

  • Author

Well after a bit of laying about I went with this

Right ( "000" & ccg_3::order_number ; 10 )& Right ( "0000" & ccg_3::line_number ; 6 )

Which appears to do what I want , still not sure if its the proper way of doing it though

Try:

SerialIncrement ( "0000000000000000" ; 10^6 * order + line )

Edited by Guest
Corrected a typo (thanks to LaRetta for catching it!)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.