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.

Featured Replies

I currently have 3 tabs: Contacts, Quotes, Tasks and when I put a script trigger on Quotes and I put it on OnObjectModify, everything I hit another tab, it will start spinning and crash, as if it's in an internal look. If I just run the script, everything is fine, the script looks like this:

Go to Field [invoice Total]

Go to Portal Row [select;Find]

Loop

Set Field [sales Orders;...]

Go to Portal Row [Next; Exit after last]

End Loop

Go to Field [select/perform;Address_Street]

I don't see anything wrong here, any reason why this would get into a continuing loop?

Script triggers in version 8.5?

  • Author

Hm that's weird, I did update my version on the forum to FM 10, but I'll try to do that again then.

It's hard to tell what exactly your script does. However, you should be aware that a script trigger is attached to the entire tab control object - and if the script goes to another tab, it triggers itself again.

It would probably be better to have the script operate directly on the data in its own table/s, and leave the portals and tab controls for the users.

Edited by Guest

  • Author

Exactly, that's the problem. I didn't know that. Because I'm going to a certain field in the previous tab, it will try to stay there. Is there a way to check which tab is being clicked in the script?

Sort of - see:

http://fmforums.com/forum/showtopic.php?tid/200703/

  • Author

That works perfectly, thank you very much.

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.