From the course: FileMaker Pro 12 Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Assigning script steps to buttons - FileMaker Pro Tutorial
From the course: FileMaker Pro 12 Essential Training
Assigning script steps to buttons
If you're just starting to get familiar with scripting in FileMaker, one of the easiest ways to do that is to assign just a single script step to one of the layout objects on your layout. In turn, those objects will then act as something called a button, and when pressed or executed, they'll perform the action that you assigned to it. So let me show you what I mean here in our Customer Detail Layout. I am going to go into Layout mode, and any layout object that's on screen can become this thing called the button, whether it's a field or a field label or an image. So the screen plus sign, I'd like to be able to assign the action to it to create a new record. That way users can just hit the button. I can train them to do that. I don't have to teach them about menus and keyboard shortcuts and all that type of thing. So the way that I can turn a layout object like the one I have selected here into a button and assign an action to it is by Ctrl-clicking on Mac or right-clicking on Windows,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Introducing scripts and script steps2m 21s
-
Assigning script steps to buttons6m 12s
-
Understanding the Scriptmaker dialog window9m 40s
-
Creating multi-line scripts8m 39s
-
Adding find criteria to a script8m 12s
-
Using the New Window script step10m 58s
-
Understanding the If script step6m 45s
-
Using script parameters4m 28s
-
Reviewing the Send Mail script option5m 57s
-
-
-
-