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

Hi

when using the perform script step within an existing script, is it possible to select the new script to perform dynamically via a variable?

My thinking is as follows:-

My initial script sets variables and calls various dialog boxes:-

I then plan to have various different scripts set up for the various reports I need to export

so if

$$Variable=1 then perform script1

$$Variable=2 then perform script2

Regards

Dave

Sure. It would be a series of:

If [ $$variable = 1 ]

Perform Script [ some script ]

Else If [ $$variable = 2 ]

Perform Script [ some other script ]

Else

Beep

Show Custom Dialog [ "Script name error" ]

End If

I highly recommend an Else to tell you if your variable tests match no scripts.

There is no way (yet) in native FileMaker to "perform script by name" (though, oddly enough, external tools like AppleScript, or any other tool which can call a FileMaker script, all call FileMaker scripts by name; so that is another option; though then totally dependent on knowing the name).

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.