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.

Featured Replies

What is the synthax to access elements of repeating fields other than the first in formulas? Do I understand corretly that field name alone of the repeating field returns the first element? How od I access the other ones?

Thank you.

-ilya

Hi Ilya,

Reading a value from a repeating field is simple; the syntax is

GetRepetition(field name, repetition)

So if you want to read the 3rd value of a repeating field called PhoneNumber the expression would be GetRepetition( PhoneNumber, 3)

Note that you can use another field as index to read from a repeating field; the expression in the Phonenumber example would then become

GetRepetition (PhoneNumber, MyIndex)

Unfortunately there is no way to write to a repeating field that way. If you want to make a script that populates the PhoneNumber field with a list of phonenumbers you would have to use a 'set field' script step for every repetition that you want to write a value to. This would look like:

set field [ PhoneNumber -1, FirstValue]

set field [ PhoneNumber -2, SecondValue]

set field [ PhoneNumber -3, ThirdValue]

:

:

set field [ PhoneNumber -n, NthValue]

In other words, the repetition that you want to set can not be defined via another indexing field.

I'm sure that if you do a search on this forum on the expression 'Repeating Field' that you'll find lots of heated debates whether Repeating fields are actually a usefull feature of Filemaker or miserable remainders of early Filemaker versions.

Hope this helps,

Regards,

Ernst.

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.