From the course: FileMaker Pro 15 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Understand the If script step

Understand the If script step - FileMaker Pro Tutorial

From the course: FileMaker Pro 15 Essential Training

Start my 1-month free trial

Understand the If script step

- [Voiceover] Creating scripts in FileMaker is an essential part of developing FileMaker databases that are easy for your users to work with. And making sure that your scripts are as intelligent as possible will take much of the guesswork out of using your database as well. A great way to add intelligence to your scripts is by adding conditions. If you recall in the calculations chapter, we discussed a group of functions called logical functions. These allow you to perform a test, or ask a question, and then provide possible multiple results depending on what the result of the test might be. You can do similar things in a script using a set of script steps based on the "If" script step. This allows you to, in essence, ask a question in the middle of your script. And then perform different script steps based on whether or not that question has a true answer, or a false answer. The important part is that question has to be a true or false question. Let's go into our existing script and…

Contents