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.

How to use repeating fields in a calculation

Featured Replies

I need to create a calculation in which if possible i want to use a calculation field text part, e.g calculation field repeats twice, 1st repetition has this data: "030 Service Adjusted Parking Brake" and 2nd repeat has: "less 2,5 settlement discount" - Now, in my calculation i want to use data in the 1st repetition that is "030 Service Adjusted Parking Brake" BUT only taking the three characters in the beginning that is "030" thereby multiplying that value by 1000.

 

How do i construct this calculation - and always i appreciate your help, Thanx :)

Since you only want to work with the first repetition, you can just reference the field like you would do with any other field.

 

And to get the first 3 characters, use "Left( YourField ; 3)"

 

A couple of pointers:

- don't use repeating fields for what you are describing,

- the fact that the field holds something that you then want to extract means that the data should be separate in two fields, one for "030" and one for the description 

  • Author

Earlier figured something close about this kind:

 

Left(GetRepetition ( Remittance_Transport::Reference: ; 1 );3)

 

I am only feet wet with FM, so am still a thousand miles to go btw, i figured i no longer need to use that but i got an idea of calculating on repetition fields now :-) Thank you.

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.