Go to Object
 
Purpose 
Moves to the specified object on the current layout.
See also 
Format 
Go to Object [Object Name: "<object name>"; Repetition: <value or formula>]
Options 
 •
Object Name is the named object to make active on the current layout. To assign an object name, choose View menu > Inspector in Layout mode. Click Position, then enter a name for the object.
 •
Repetition (optional) lets you choose a field's repetition to go to. Otherwise defaults to 1. This option is ignored if the object is not a field.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 8.5
Description 
This script step uses an object name to identify an object, so you must assign a unique object name to each object on a layout that you want to go to.
Notes
 •
If this script step specifies an object on a tab panel or a slide panel that is not the front-most panel, the specified object is selected and the panel it is on moves to the front of the panel control.
 •
Example 1 
Navigates to a text field named "First Name".
Go to Object [Object Name: "First Name"]
Example 2 
Navigates between different tabs of a tab control.
If [Invoices::Status = "Paid"]
Go to Object [Object Name: "Invoice Statement Tab"]
Else If [Invoices::Status = "Unpaid"]
Go to Object [Object Name: "Invoice Payment Tab"]
End If
Example 3 
Navigates to either the "Paid" tab or the "Unpaid" tab in a tab control depending on the value of Invoices::Status.
Go to Layout ["Invoice Details"]
Go to Object [Object Name: Invoices::Status]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Naming objects
Defining repeating fields