Jump to content

This topic is 5547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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,

Posted

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?

Posted

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.

This topic is 5547 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.