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.

setting global container fields

Featured Replies

I am trying to set repeating global container fields with a script.

There are two icons.

The is a choice field of ABC or D

There is a repeating container field that I want the script to set all repeats the same except the field that corresponds to the choice (ABCD)

Please attached

setContainer.zip

Looks like there's a bug when using the Set Field command for a repeating field in combination with the Get Repitition command (global fields or not, container fields or not) - at least in FileMaker 5.5. frown.gif

Instead of using a Repeating Conatiner field for the Icons, separate it out into two fields: gIcon1 and gIcon2. Everything then works fine.

  • Set Field ["gImage", "If(gChoice = "A", gIcon1, gIcon2)"]
    Set Field ["gImage"-2, "If(gChoice = "B", gIcon1, gIcon2)"]
    Set Field ["gImage"-3, "If(gChoice = "C", gIcon1, gIcon2)"]
    Set Field ["gImage"-4, "If(gChoice = "D", gIcon1, gIcon2)"]

Yet another good reason NOT to use repeating fields. frown.gif

Harry is correct. You must use an intermediate field to copy from one repeating field to another or eliminate one of the global fields. This is unlikely to be fixed as repeating fields are a dead issue and to be avoided in almost all cases.

-bd

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.