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

Is there a way to store values in repeating fields using a variable index? All of the InsertXXX script steps require the me to put a constant index dictating the element of the field to insert into. I need FileMaker to decide at run time based on a value of a variable which element of the field to insert into. How do I do that? Thank you.

-ilya

No, it would be nice if Filemaker had a SetRepetition() function to complement the GetRepetition function, but it doesn't. A messy workaround is to use the following script steps:


Set Field [gRepIndex, <<Desired Index No.>>]

Go to Field [TheRepeatingField]

Loop

  Exit Loop If [gRepIndex<=1]

  Go to Next Field

  Set Field [gRepIndex, gRepIndex-1]

End Loop

Insert Calculated Value [<<Desired Field Value>>]

The field has to be on the current layout, and all the field repetitions have to be in sequential tab order for this to work. You may want to create a special layout with only the repeating field on it.

I'm assuming that you are using repeating fields for some legitimate reason. grin.gif

I'd rather go down the repetitions, then

if status(CurrentRepetition)=Desired Index

set the value

but that does

  • Author

Man, It's not my fault. I'm working on a database created by someone else, who apparently knew nothing about data modeling or relational database theory. Thanx you all for responces, BTW.

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.