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 doesn't update

Featured Replies

What am I doing wrong?

I want to compare the value in an Address field to the value in the same Address field in the previous record.

I've created a calc field-

GetNthRecord(Address;Get(RecordNumber) - 1)

This works at first, but if I change the Address in the first record, the calculation in the next record does not update until I click in it.

I've tried both storing the calc results and not storing but it seems to make no difference.

Any ideas? Thanks.

It works for me with the following unstored calculation field:

GetNthRecord(Address; Get(RecordNumber) - 1) = Address

It reutrns a 1 if they are the same and a 0 when they are different. It updates when I change record 1 and move to record 2 without clicking into the field.

BTW, you might want to update your profile to show that you are using FileMaker 8.

It's important to figure out whether the field didn't update at all, or if simply the screen display didn't update.

If it's the latter, you can force it to update by a "Refresh window/flush cached joins" script step.

If it's the former, you may need to "trigger" the update by setting another field, "TriggerField" in the same record, something like:

Let(

dummyFieldToUPdateThis = TriggerField;

GetNthRecord(Address;Get(RecordNumber)-1)

)

Then you just have a script step which sets TriggerField to any value.

Though, I suspect your problem is probably a display problem, not an actual update problem?

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.