From Dwayne Wright PMP, PMI-ACP, CSM
Certified FileMaker Developer
This is one of the more important script steps in regards to running a script in a highly controlled manner. The Allow User Abort script step either allows or does not allow the end user to cancel out of a script that is current running.
During the development process, you will likely want to allow the ability to abort a script. During the times of regular operation, there are times that the integrity of the database can be damaged if a script is not allowed to run it's complete course.
FileMaker has a keyboard shortcut for both Macintosh and Windows machines to get you out of a running script. Depending on what happens if a script gets terminated sometime after it started, this step allows you to control if the end user can or cannot cancel the running script.
There are also scripts that pause for user interaction, like entering in key data before the remainder of a script runs. It’s possible that the integrity of the information within the database might be harmed is the script is not allowed to fully carry out it’s task.
FYI... If you have a long script that you will not allow the user to exit from, warn them first. The best way to do this is using another FileMaker script step called Show Message. You can warn the user that the script may take a long time to run and allow them to abort it's execution BEFORE it gets started.
More info about the author and FileMaker in general, contact me at firstname.lastname@example.org.
© 2007 - Dwayne Wright - dwaynewright.com
The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.