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.

Calculated repetition can't see related records

Featured Replies

Hi

I have a repeating calculation field. The first repetition is able to refer to related records, the join fields of which are not repeating.

However subsequent repetitions can't see any related records.

I've only got seven repetitions, but the calculation is quite complex so I'd rather not switch to just using seven separate fields.

Is this behaviour by design?

Thanks

A simplified example would be useful.

In general, if the field you are referencing is non-repeating, you need to use the Extend() function in order to make its value available to all calculation repetitions. If the referenced field is repeating, then each calculation repetition will use the value of the corresponding repetition of the referenced field. This is true for fields from a related table as it is for any other field. 

Not sure what you mean by " the join fields of which are not repeating". Perhaps you meant "match fields"? In any case, a related record is a related record. Once a relationship has been established, it exists for all calculations, in all repetitions.

 

Edited by comment

  • Author

Thanks for the confirmation comment. Yes I meant match fields.

Not quite sure where I got confused. As you say it's the Extend function that I need. Interesting that it's not required for Count or list, but is required for getnthrecord.

All working now.

Thank you!

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.