From the course: FileMaker Pro Essential Training (2019)

Unlock the full course today

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

Adding the If script step to a script

Adding the If script step to a script - FileMaker Pro Tutorial

From the course: FileMaker Pro Essential Training (2019)

Start my 1-month free trial

Adding the If script step to a script

- [Instructor] So let's say you've determined that you want to add some conditional criteria to your scripts. Specifically, in our case, we've got two different letters, a welcome letter and an inactive letter. And we want to send a welcome letter to any customer that has a status of Pending and we want to send a inactive letter to any customer that has the status of Inactive. You see that we can determine that on a record-by-record basis. So if I go into my Print Welcome Letter script, I can duplicate it to create another one. We'll call this the Print Customer Letter Conditional. I'll go ahead and save that for right now. And first, we'll get rid of our dialog. And now, we have to determine where we're going to insert the condition. So the only thing that's really going to be affected by the condition is which layout we go to. So I've isolated script step number one, which is Go to Layout. I'm going to duplicate that by hitting Command-D on my keyboard, or Control-D if you're on…

Contents