Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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?

Posted (edited)

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
Posted

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?

This topic is 5555 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.