Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Perform Script
- Pause/Resume Script
- Exit Script
- Halt Script
- If
- Else If
- Else
- End If
- Loop
- Exit Loop If
- End Loop
- Allow User Abort
- Set Error Capture
- Set Variable
- Install OnTimer Script
- Navigation script steps
- Go to Layout
- Go to Record/Request/Page
- Go to Related Record
- Go to Portal Row
- Go to Object
- Go to Field
- Go to Next Field
- Go to Previous Field
- Enter Browse Mode
- Enter Find Mode
- Enter Preview Mode
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
FILEMAKER SCRIPT STEPS REFERENCE 29
Options
Specify lets you choose the target layout. For Specify, click the arrow, then you can:
• choose the original layout. The original layout is the active layout when the script is initiated.
• choose a specific layout by name from the list of layouts you’ve defined in your file.
• choose Layout Name by calculation, and use the Specify Calculation dialog box to create
a formula whose result is a valid layout name.
• choose Layout Number by calculation, and use the Specify Calculation dialog box to
create a formula whose result is a valid layout number. (Layout numbers correspond to the
order of the layouts in the file.)
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Originated in
FileMaker Pro 6.0 or earlier
Description
This script step is useful when you begin a script to make sure the user starts with the correct layout
displayed.
Notes
• The Go to Layout script step can only take you to layouts defined in the same file as the
script itself. To go to layouts in an external file, define a script in that file using the Go to
Layout script step, and call that script from the first file using the
Perform Script script
step.
• Layout Name by calculation recognizes layouts with the same names in the order in
which they were created. If you have multiple layouts with the same name, either select
the specific layout you want from the layout list or use Layout Number by calculation.
• Define an unstored calculation field with the function Get(LayoutNumber) and place it
on your layouts to verify the layout numbers of your layouts.
• When a file has two or more tables, FileMaker Pro appends the name of the source
table to the layout name for clarity. For example,
Go to Layout [“Layout #2”
(TableB)]
.
Examples
Enter Browse Mode []
Go to Layout [“Contacts”]
New Record/Request
Go to Field [Table1::First Name]
Related topics
Script steps reference (alphabetical list)
Contents