Jump 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.

Going to a field with a script variable

Featured Replies

I have a DB script that is doing some data manipulation. In my script, the db leaves the current layout to do some manipulation in another table. It's triggered by the value that is in a field of the original layout. When it comes back to the original layout, I would like the script to start at the field that it left off at.

I am having trouble geting the script to go to the next field. When I come back to the layout, it starts at the first field. I tried putting in a temp Global variable but the Goto Field step does not allow for variables. Any help would be appriciated.

Thanks.

Hello Jim,

Up to and including version 7.0v3, there is no direct programatic method for dynamically selecting or setting a field. So you'll have to build your own method.

For example a scripted sequence along the lines of the following may be worth considering:

Loop

Go to Next Field

Exit Loop If ["Status(CurrentFieldName) = gTempText"]

End Loop

...where gTempText is a global text field into which your scripts have previously stored the name of the field to which you wish the script to return.

Create an account or sign in to comment

Important Information

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

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.