Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages

Shopping Cart
Shopping Cart


Free Newsletter


Privacy Policy

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.


 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

GotoFieldByName ( FieldName )

Rate this function:  

  Average rating: 4.5  (32 votes)
  Discuss this Custom Function

Ryan Grgurich, CRS Manufacturing, Inc.

lets you goto a field by name, uses Applesctipt

Sample Input:
Use in Perform Applescript script step by calculation:

GotoFieldByName ( "Table::Field" )

Note: field name must be in quotes.
Sample Output:
Puts you with an active cursor at the end of Field on the currently active layout.

 Then copy & paste into FileMaker Advanced's Edit Custom Function window.


This is a function to use in the Perform Applescript Script Step by calculation. Stick the name of field you want to go to between quotes or a calculation of the field you want to goto and your there. If anyone wants to post the windows half of this to make it cross platform that would be great.

Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it


I'd suggest using the Go to Object script step instead, which is native and x-platform.

Dave Graham, San Diego, CA
November 11, 2010 10:17am

Objects are a bad idea in my situation. Assigning all those objects would be a ridicules script if you had 1000 different possible fields to go to in different tables. Not to mention all the time spent assigning objects. Then having to make sure every new field you add to the layout is assigned an object name. This is not intended to be used on a one field one table situation in the same way SetFieldByName () is not intended for a one field one table situation.

Ryan Grgurich, Northridge, CA
November 11, 2010 11:17am

Actually error on my part, the script wouldn't be so bad just the layout work and maintenance.

Ryan Grgurich, Northridge, CA
November 11, 2010 11:20am

There is no need for the tell statement.
Regarding going to native named objects - true but then you need to add the labor of naming the objects.

Bruce Robertson, Redmond
November 26, 2010 8:09am

I'm getting a privilege violation when I try to run this.

Dorian Cougias, Las Vegas
January 29, 2018 11:17am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 0 + 9 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
2. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)
3. FindDuplicateCharacters ( string )
  (Fri, Jun 08, 5:01pm)
4. FieldRepetitionLast ( field ; maxRepetition )
  (Wed, Jun 06, 6:05pm)
5. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp )
  (Mon, May 28, 8:23am)
6. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
7. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
8. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)

RSS Feed of Custom Functions