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.

OnRecordLoad trigger continually refreshing

Featured Replies

I'm updating a contacts database to have portals for each contact to display his or her local weather and time.

Currently, I have an update button on each record that updates correctly.

I would like to use the OnRecordLoad trigger so when I move forward, backward or a find, the record will update the weather and time.

The problem is that when I set up the OnRecordLoad trigger to launch the update script, when it is completed, the screen refreshes which triggers again. I end up having a hourglass sit and blink until I hit escape and get out of the layout.

Is there a better way to update this? Am I using the trigger incorrectly?

Please offer any suggestions; I would like to make this automated.

Thank you,

I'm not sure but try not OnLoadRecord but OnLoadLayout.

  • Author

I get the same results. I would have thought that this would only work once since the layout only loads once but it also continued to loop.

I would suspect at this point that the script could be the problem but I'm uncertain how to copy the script into this forum for discussion. Any ideas there?

Maybe try an exit script step at the end of your script with a script result of "0". I have no idea if that will help but just a thought.

  • Author

I had already tried that and it did not make a difference.

I ended up making my own toolbar with Previous, next, new, delete, sort and find buttons.

With each of these I can write a script which solved the problem.

I don't like this answer but I couldn't figure out how to make the filemaker toolbar and the script play well together.

Thank you for any and all information. I'll close this post.

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.