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.
Juggernaut

Should I be using GetNth in this situation?

Featured Replies

I am trying to create a calculation that gets all field values of a related record and combines them into a single field with a carriage return after each one.

I have tried to use the "GetNthRecord" function to achieve the desired result but I have to string a bunch of them together to get it to work.

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 1 ) & "¶" &

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 2 ) & "¶" &

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 3 )

I am sure that this is not how I should be doing it. Is there a single function that can do this?

Hi, HALBURN!

Create condition value list by your relation, then use ValueListItems() function. I think must work.

  • Author

I must be doing something wrong. I can not get the value list to show only the related values.

RelatedValueList.gif

It will be better, if you attach here part of your file.

  • Author

Here is a test file that I have created to illustrate the trouble that I am having with trying to get a related value list to work properly.

HALBURN!

I havn't .sit arcivator. Can you attach in zip format?

Pulling related data into an unstored calculation field by using a custom function:

Custom Function: Concatenate

Parameters: field, start, number

Function Calc:

Case(start < number; getNthRecord(field; start)&" "&concatenate(field; start + 1; number);

start = number; getNthRecord(field; start)

)

All you would need to do is call the function in your unstored calculation field.

  • Author

Thanks Brian, that worked great and I learned how to make a custom function.

I feel so Abby Normal :)

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.