Go to Contents
Previous
Page
Next
Page
Contents > Script steps reference (alphabetical list) > Navigation script steps > Go to Portal Row script step

Go to Portal Row script step
Format

Go to Portal Row [<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.
Web compatibility
This script step is web-compatible.
Description
Navigates among the rows in the active portal. When no portal is active, the script uses the first portal in the layout stacking order.
Go to Portal Row 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.
Example
The following selects the first portal row in the current record.

Go to Portal Row [Select, First]
Related topics
Script steps reference (alphabetical list)
Script step categories
About formulas

Contents > Script steps reference (alphabetical list) > Navigation script steps > Go to Portal Row script step
Previous
Page
Next
Page