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.

Error messages halting scripts

Featured Replies

Hi,

I have a solution, which works together with another windows application (it generates data to be imported into FM, created by another developer).

The database communicates certain conditions (for example, data import succesful) to the other app. through simple exported text files created by FM scripts.

In most cases this works fine, but sometimes, when the database first opens the external application and the user instructs it to do its thing, and while the external application is running (this can take a couple of minutes), the user switches back to FM and presses for example Enter, an error box appears - while this dialog box is active, FM does not execute any scripts (that would generate the feedback text files for the external application)

Although this something the user is not supposed to do, they still do it occasionally. Is there a way to suppress these error dialogs or to force scripts to run no matter what?

Any ideas are greatly appreciated,

Jari V

Do you have in your script:

Set Error Capture [On]

Jari:

The script step you're looking for is:

Set Error Capture [on]

-Stanley

  • Author

Trying to more accurate, the problem is not entirely within a script. The problem appears when user hits for example Enter-key in FM window, and then doesn't click on the OK-button in the resulting error message window.

When this FM error message is left there, and the external application (which is running in the background) is trying open Filemaker files and the associated scripts within the startup scripts of those files, those scripts won't run even if the Set Error Capture step is there.

So the challenge is how to suppress or ignore program error messages, that are resulting from user hitting keys on the keyboard rather than error messages resulting from particular script steps.

I hope this will explain the problem better.

Jari V

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.