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.

Using OnObjectKeystroke

Featured Replies

I have a relationship to filter a portal. I want to use OnObjectKeystroke to update the portal as I type. The script is firing, but the Refresh command (with and without the two switches) isn't refreshing the portal. The only way it updates is if I tab out of the field. What is the solution?

Thanks,

Will

I use OnObjectModify and a Commit[].

Commit Record

Refresh Window[Flush cache]

Go to Field [table::globalField]

OnObjectModify is indeed a better choice here, IMHO - with OnObjectKeystroke, one would have to deal explicitly with non-text keystrokes, such as backspace.

If the input field is participating in the relationship, then committing the record should be all it takes to refresh the portal.

  • Author

Thanks guys. The Commit Record did the trick, but I thought I had tried that prior to my post. I don't understand why it didn't work then.

Good to know the difference between OnObjectModify and OnObjectKeyStroke.

- W

If the input field is participating in the relationship, then committing the record should be all it takes to refresh the portal.

Interesting. I'd been playing around, trying to "perfect" my technique and couldn't figure out why I'd need the Refresh[] sometimes but not others.

Some of the test used a second, calculated, field as a the key (to show all records when the entry field was blank).

Your script should set the filter field to itself.

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.