Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Navigation script steps
- 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 From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- 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 37
Format
Go to Portal Row [Select; <First/Last/Previous/Next/By calculation>]
Options
Specify lets you choose from the following options.
• First moves to the first row in the portal.
• Last moves to the last row in the portal.
• Previous moves to the previous row in the portal. Exit after last tells FileMaker Pro to exit
the loop or the enclosing script.
• Next moves to the next row in the portal. Exit after last tells FileMaker Pro to exit the loop
or the enclosing script.
• By Calculation moves to the row number that is the result of the calculation you create, or
to the row number specified in a dialog.
• Select entire contents selects the entire portal row. If select entire contents isn’t selected,
only one related field in the portal is active.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
When no portal is active, the script uses the first portal in the layout stacking order.
This script step tries to keep the same related field selected when changing rows. If no field in a
portal is selected, the script selects the first related field it can enter.
When a related field in a portal is selected, you can use this step to move to the same field in
another portal row. For example, if the third field in the second portal row is selected, Go to Portal
Row [Next] goes to the third field in the third portal row.
Examples
The following selects the next row in its entirety and exits the script after the last row within the portal
has been reached.
Go to Portal Row [Select; Next; Exit after last]
The following selects the fourth row within the portal in its entirety.
Go to Portal Row [Select; 4]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Partial
FileMaker Go Yes
Custom Web Publishing Partial
Instant Web Publishing Partial
Runtime solution Yes