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.

Found set opens with 'wrong' record...

Featured Replies

In my first layout I have 6 records...

Records 1-4 have the same conditional value

I then do a find on this conditional value and (not surprisingly) get the first 4 records which appear in a related layout.

However, if I'm in record 2 when I initiate the search, I get the same four records but my found set starts at record 1.

Go to Layout [ Found layout ]

Perform Find [ Conditional value ] [ Restore ]

Go to Related Record [ From table: "Original"; Using layout: "Found Layout"]

What I'd love to achieve is performing the find, switching the layout and ending up at the record where the find was first triggered.

I've tried doing no end of variations without any success. Can anybody tell me whether or not this is achievable?

Tim

When you perform a find it is not necessarily based off the record you perform the find at. So when FM performs a find, it returns the found set based off the find criteria.

However, if you did want to go to the record you started with, before you perform the find, capture the your recordID number into a global field. After the found set is returned, go the the record you captured into the global field.

  • Author

Thanks John...

I've got the ID and pasted it into a global but I can't seem to construct the "go to record" instruction properly.

Can you offer one more tidbit of a clue?

Tim

Make a new relationship between the table of where the global is stored to your RecordId field. Then after your find is performed, go to a layout of the table where the global field is located and then Go to related record. It will leave you on the record you were on.

  • Author

I actually had a missing line in my test script...

Once I'd inserted an Exit if statement, it worked fine.

Thank you again.

Tim

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.