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.

Setting the value of field in a portal row with a value taken from a field in a previous row?

Featured Replies

I want to populate a field of a newly created record in a portal row with the value of the field in the record right above it (with a secondary key). I'm trying (wanting) to do this via an Auto-enterd Calculated Value and I've got my FileMaker 9 Developer Reference cracked open but I just can't figure out a way to make it happen.

In the past I've done this with a script that creates a new record in the portal but I in this case I need to have it so that writing in the portal window creates the new portal row record.

You need a self-join relationship of the child table, e.g.

Child::ParentID = Child 2::ParentID

AND

Child::ChildID > Child 2::ChildID

Sort the related records on Child 2 side by ChildID, descending, and auto-enter data from Child 2.

This assumes your existing portal/relationship are not sorted by another order.

  • Author

Yes, ... a self-join relationship. I think that should work. The records are sorted by another field in addition to the one whose value I want to inherit but that sort is the secondary one.

I'll give this a whirl. Thanks.

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.