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.

Get Nth Record Calculation

Featured Replies

Hi,

 

I have a portal with various fields, the two in question however to explain my problem and without listing them all are called: - 

  • Previous Years Remaining
  • Remaining

When I go to a new record on the portal I want to get the value from the field 'Remaining' (from the previous record) and put it into the field 'Previous Years Remaining' in my new record. 

This I have managed to achieve by setting the 'Previous Years Remaining' field type to calculation and using the following function. 

 

GetNthRecord (Beneficiary Allocations For Accounts::Remaining_c ; Get(RecordNumber)-1 )

 

Why when the value or data in the 'Remaining' field is updated or changes however, the value in the 'Previous Years Remaining' field doesn't change or update with it.

 

I'm guessing that the GetNthRecord function does not perform like a calculation that say for e.g. adds two number fields together and keeps updating itself as and when data changes. 

I have tried hard to try and resolve this before asking for help but now out of ideas.

 

Any help would greatly be appreciated.

 

Cheers

Steve

Is the Do Not Store checkbox checked in the 'Previous Years Remaining'  calculation options?  It should be

  • Author

I can't thank you enough, it works brilliant.

 

Thank you again.

 

Steve :laugh2:

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.