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.

Running a script after a field gets Modified

Featured Replies

  • Newbies

I was wondering if anyone could tell me a way to get a script to run automatically after a field gets modified.

The script is designed to look-up a value in a different record in the same table and paste that value into the new record.

Cheers!

I believe there is a free event script plug in around that will do what you need. Try looking in the plug-in section.

  • Author
  • Newbies

Thanks!

I went and got the EventScript plug-in and am trying to get it to do want I want... However, I'm confused as to what the "Get(FileName)" part of the script is supposed to be doing.

Is it something I leave blank if the data is in the file that I am running the script it?

Cheers!

However, I'm confused as to what the "Get(FileName)" part of the script is supposed to be doing.

I guess you mean, "part of the calculation" ?

If so, the Get(FileName) part is the built-in function of FileMaker that returns the name of the current file.

You can also use an hard-coded 'absolute filename' as per example "YourDatabase.fp7" but if someone is later renaming the file, then the trigger won't be fired anymore.

The parameters accepted by EventScript are :

1. The name of the file where the target-script is placed

2. The exact name of the target-script itself

3. The optional script parameters if you want to run this target-script with special parameters.

Each of the EventScript parameters can also be provided through the content of predefined fields. This is the 'relative' approach.

HTH

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.