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.

Need help returning to current record after loop script

Featured Replies

Hey guys,

I know this is a real newbie question, but I just can't figure it out. I have a loop script that runs when you go to a new layout, but once the script finishes it dumps me on the last record. What can I add to the script to make it return to the record that was being browsed? I think the key is using a "set variable" step on the record ID is in there somewhere, but have not been able to get that to work either.

Thanks

before you start your loop create a new window - process thru the loop and when finished close the window - you will be returned to the original layout window and found set.

or you can capture the record's id in a variable then after it finishes perform a find for the record with that ID.

Does your script change the found set or the sort order? If not, you can place the record number (not ID) in a variable, and use that to return to the original record.

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.