The Original FileMaker Community
Business Templates - Demo Apps - Video Tutorials -Samples - Help - 46000 Member Forum

The Leading Filemaker Developer Tools

A Little About The FileMaker Exit Script Step – FileMaker Today

Get real time updates directly on you device, subscribe now.


Used to stop the currently running FileMaker script and will follow shortly after an IF or Else If script step. So this portion of the script is looking for something in particular about the FileMaker record at that moment in time and then deciding to forgo executing the remainder of the script.


 


If this script was called upon a previous script, that original script will continue to run. This is different than the Halt script step which will have all FileMaker script to stop running immediately.


A little less known feature, the Exit script step had an option called the Script Result. When you select this option, you are greeted with the calculation dialog box. The value (text, field reference or calculation) that you place into this calculation dialog will be used when the script step is executed to return that value into memory. Then it can be used later via the Get(ScriptResult) function.


HOW IT IS USED

Once again, the Exit Script step is usually used after a script branching action by the IF script step. The most common is after the Show Message script step. That step presents the user with up to three choices in the Show Message dialog box. Many times one of those options will be a Cancel button. Cancel would normally take the user out of the script via the Exit Script step.


FYI…

Be sure that in using the Exit Script step, you do not strand the user on an unfamiliar layout or leave them in the wrong layout mode. Always make sure the user is on the layout and in the mode (Browse or Find usually) they should be in before you Exit a script.


Got To Know Factor – 6


=

More info about the author and FileMaker in general, contact me at This email address is being protected from spambots. You need JavaScript enabled to view it..


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

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More