Tutorial
Table Of Contents
- Lesson 1 FileMaker Pro basics
- Lesson 2 Browsing information
- Lesson 3 Finding and sorting records
- Lesson 4 Creating a database and entering records
- Lesson 5 Customizing what you see
- Lesson 6 Creating lists, mailing labels, and form letters
- Lesson 7 Simplifying data entry
- Lesson 8 Automating tasks with buttons and scripts
- Lesson 9 Creating and running reports
- Lesson 10 Making databases relational
- Lesson 11 Sharing and exchanging data
- Lesson 12 Protecting data in FileMaker Pro
- Lesson 13 Keeping your data safe
Lesson 8
Automating tasks with buttons and scripts
FileMaker Pro lets you automate many database tasks with buttons
and scripts. These powerful features can save you a lot of time by
performing a series of actions with a single click.
In this lesson you will:
1 make and use a button to perform a task
1 create and run a simple script to perform a multi-step task
1 use a button to perform a script
1 find records using a script
Perform a task using a button
A button is an object on a layout that you can click to perform many
FileMaker Pro commands. You can use a button to switch layouts in
your database.
Create the button
1. Open the Tutorial folder.
2. Open Sample Copy.fp7.
3. Choose Data Entry from the Layout pop-up menu, if it is not
already selected.
4. Select View menu > Layout Mode to switch to Layout mode.
5. Select the Button tool .
6. Draw the button at the top of the layout.
7. In the Button Setup dialog box, select the Go to Layout command
from the list.
8. In the Options area, select the Club List layout.
9. Select Rounded button for button style.
10. Click OK.
11. Notice that the insertion point is now in the center of your button.
Type Go to Club List in your button to identify it.
12. Click outside the button.
If you need to move the button, select it and drag it to the desired
location, as with any other layout element.
To test your button, go to Browse mode and click it. The button takes
you to the Club List layout.
Place the button here
Specify the
Club List
layout
Select
Rounded
button