User manual
Table Of Contents
- Preface Learning how to use FileMakerPro
- Chapter 1 FileMaker Pro basics
- Chapter 2 Adding and viewing data
- Chapter 3 Finding and sorting information
- Finding records
- Finding text and characters
- Finding exact matches in text fields
- Finding numbers, dates, and times
- Finding ranges of information
- Finding data in related fields
- Finding records that match multiple criteria
- Finding empty or non-empty fields
- Finding duplicates
- Finding all records except those matching criteria
- Hiding records from a found set and viewing hidden records
- Viewing, repeating, or changing the last find
- Sorting records
- Finding records
- Chapter 4 Previewing and printing information
- Chapter 5 Creating a database
- Chapter 6 Creating and managing layouts and reports
- Chapter 7 Customizing layouts
- Chapter 8 Working with related files
- Chapter 9 Protecting databases with passwords and groups
- Chapter 10 Creating scripts to automate tasks
- About scripts
- Creating scripts: an overview
- About ScriptMaker steps
- Control script steps
- Navigation script steps
- Sort, find, and print script steps
- Editing script steps
- Fields script steps
- Records script steps
- Windows script steps
- Files script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Changing scripts
- Duplicating, renaming, or deleting scripts
- Importing scripts
- Listing scripts in the Scripts menu
- Using buttons with scripts
- Example of a ScriptMaker script
- Chapter 11 Using formulas and functions
- Chapter 12 Importing and exporting data
- Chapter 13 Sharing databases on a network
- Chapter 14 Publishing databases on the Web
- About publishing databases on the Web
- How users work with databases on the Web
- What you need to publish databasesontheWeb
- Publishing databases on the Web: an overview
- Enabling FileMaker Pro Web Companion
- Configuring FileMaker Pro WebCompanion
- Enabling Web Companion sharing
- Setting up browser views
- Testing your published database
- About browser views for web publishing
- Chapter 15 Using ODBC with FileMakerPro
- Appendix A Customizing FileMaker Pro
- Appendix B Backing up and recovering files
- Appendix C FileMaker Pro Quick Reference (Windows)
- Appendix D FileMaker Pro Quick Reference (Mac OS)
- Index
10-6
FileMaker Pro User’s Guide
About ScriptMaker steps
A step is a FileMaker Pro command that you use in a script. Steps are
similar to the commands you access through FileMaker Pro menus.
For example, you can create a record by choosing New Record from
the Records menu, or you can perform a script that contains the New
Record/Request step.
Keep these points in mind:
1 Many steps have options that you specify when you define a script.
For example, you can specify a field name in the Go to Field step.
FileMaker Pro Help contains detailed information about steps and
options.
1 Some steps, like Paste and Insert Text, can only be performed in
certain modes or when a specified field is on the current layout.
1 Some steps can display a dialog box when you perform a script.
For example, a script with the Sort step can display the Sort dialog
box so you can enter a sort order.
1 To specify a related field in a step, choose a relationship from the
relationship list at the top of the Specify Field dialog box. Then select
a related field.
1 You can use status functions in steps to monitor the state of your
database. For example, a script can check whether a file is sorted. Or
it can display a customized message that tells users what to do when
a found set is empty.
For a list of status functions and some examples of their usage, see
chapter 11 and FileMaker Pro Help.
1 For information about using script steps with OLE objects, see
FileMaker Pro Help. Choose Help menu > Contents and Index, click
the Index tab, and type OLE objects,scripting.
Control script steps
Navigation script steps
Use this step To
Perform Script Perform another script
Pause/Resume Script Pause a script, or resume a paused script
Exit Script Exit the current script
Halt Script Stop performing all scripts
If Perform steps if a calculation is True (not zero)
Else Perform another set of steps if a calculation is False
(zero)
End If Mark the end of an If statement
Loop Repeatedly perform a set of steps
Exit Loop If Exit a loop if a calculation is True (not zero)
End Loop Mark the end of a loop
Allow User Abort Allow or prevent users from stopping a script
Set Error Capture Allow or prevent error messages from displaying.
Use this step to change the way FileMaker Pro
handles error messages.
Use this step To
Go to Layout View the specified layout
Go to Record/Request/Page Move to a record in the found set in Browse
mode, a find request in Find mode, or a page in
Preview mode
Go to Related Record Move to the current related record in a related file
Go to Portal Row Move to a portal row
Go to Field Move to a field on the current layout
Go to Next Field Move to the next field on the current layout