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.

Returns the contents of a RELATED set by number.

Featured Replies

  • Newbies

Hi

I would like to returns the contents of a RELATED field specified by number in a calculation.

Like the last() function, which returns the last value in the related set, if it's not a repeating field, I would like to get a specified value by a number.

Also like the GetRepetition(repeatingField;number), but with a related field instead of a repeating field.

I've been searching for ages smile.gif

Thanx a lot in advance for any help or hints.

I'm using OS X and FMP7 Dev

ValueListItems (Get(FileName), "value list name") will get you the values matching a relationship. The MiddleValues function will let you pull one out by number. It must be either an unstored calculation or script; or it could be auto-entered via calculation when the number is chosen.

(P.S. The Value functions, for some reason known only to FileMaker, return the value AND the paragraph return after it, so you have to use Substitute to remove it.)

  • Author
  • Newbies

I'm going to try that solution. But it seems to solve my problem.

I haven't thought to use a value list.

Thank you a LOT.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.