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.

Problems looping through found set

Featured Replies

  • Newbies

Hi,

I have a simple task for a script but cannot get it to work..

The script should loop through the found set of a table, perform a find on another table depending on the current record in the first found set.

Basically the script logic is (after initial find)

loop

set global field to current value of a field in the found set

perform a find on another table using that global field as criteria

should the found set

go to the next record in the first found set

end loop

Should this be as easy as I think?

Thanks in advance.

Assuming you are performing the search in the second table in a different layout, you have to return to the original layout before going to the next record in your first found set.

  • Author
  • Newbies

Hi Thanks,

I was doing that - it seems that entering preview mode was setting the cursor back to the start of the result set of the first find.

Ta,

Ian

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.