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.

you can run infinite number of scripts by their names all from inside FM global field without using the "if" statement

Featured Replies

dear FileMaker Forum,

you can run infinite number of scripts by their names all from inside one FM global field without using the "if" statement!!!

i had it working in one of my older solutions just fine!!! but since i am a disabled war vet with disability that puts limits a lengthy concentration / discussions.. i need to be shown, "WHAT TO DO", "NOT TOLD WHAT TO DO". Thats i work. i pretty much not think what to do. i just do it!!! if it doesn't work do it again differently!!!

i did have it working.. i was running numerous scripts all from one global field with a very simple AppleScript step. then i complicated it by wanting to run only one of six scripts their names stored in 6 repeating fields.

this is what i had but i had a global field there instead of the script name: (then i started to lose myself and all what i had built) even when it is all very simple.

•"do script """&giveSCRIPT&""""

somehow i was putting ANY script into my global field and that script name appeared in this ... "do script """&giveSCRIPT&""""

what i want is, doScript """fromMYglobal"""

in the above i was outlining the simplest steps for trying to understand something more what i want and know it works. Cause had it but lost it!!

WHAT i REALLY WANT is to run any one of six scripts (their names residing in 6 repeating fields. using the doScript step:

something like this: "do script """&get(repeatingFieldname;( myGlobalField)""""

disabled war vet

and proud of it

rob

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.