Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Go to Field via field name text?

Featured Replies

With function GetField, you can compute the fieldname, and then GetField will get the value of the field with that name. Very useful.

Can you do the same with Go to Field? The normal interface seems to demand you directly specify a field.

Is there any other way to do "Go to the Field whose name is in the global gFieldName"??

(Again, I am trying to avoid cut'n'paste of a long script; but rather simply set gFieldName and then call the one long script that performs the feat on the field named in gFieldName. Huge maintainability win; esp since FMP doesn't even support cut'n'paste!)

perhaps the following works for you:

define two global text fields, gTmp, and gFieldName. Elsewhere in your scripts, you set gFieldName to the field name you want to go to. then set up a script like this:

Loop

Set Field ["gTmp", "Status(CurrentFieldName"]

Exit Loop If ["gTmp = gFieldName"]

Go to Next Field

End Loop

you may want to add an error trap to prevent an endless loop if, for some reason, gFieldName got set to the name of a text field which isn't on the current layout (like incrementing a counter which stops at 50 with a message).

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.