Skip 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.

script triggered by field content

Featured Replies

Dear all,

is it possible to trigger a script (Perform script [...]) based on a current field content?

The idea is to have all desired script names in a separate table; based on the entries = names of scripts I would like to

* copy that special script name from the table and

* pass it over to the Perform Script-Step so that this script step just performs the script which was copied before...

Maybe there is a solution based on parameters/variables but I am not able to figure it out....

Any ideas?

Brgds Harald

Yes, you can ... but not with FM6 (or so I think) !

And even with FM7/8 you have to use a plugin such EventScript or ZippScript

For example you may define two fields:

The first is a calc (result text) field:

ScriptNames

with calc:

[color:green]ScriptNames ( Get(FileName ))

The second is a text field with option AutoEnter/Replace, with list coming from field ScriptNames:

ScriptToFire

with calc (for AutoEnter):)

[color:green]Case(

not IsEmpty ( ScriptToFire );ScriptToFire & S4HU_EventScript( Get(FileName) ; ScriptToFire ; "" );

ScriptToFire)

  • Newbies

There is actually an plugin that comes with FM 8 Advanced that is supposed to be an example of how to create a plugin that will trigger a script when a field changes. I think you can find it at http://www.databasepros.com/. It is called MacExample.fmplugin. There is an example database included. I think this also existed in FM 7 Developer also but I never had that version so I'm not sure.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.