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

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

Recommended Posts

Posted

I have two fields, A & B. When a user changes the value of A (not just enters, and then leaves the value the same, and saves), I want B to have a value set. I've been able to do this as follows. I wanted to check if this is a reasonable approach (given the use of a global variable; I've heard that using local variables is preferable at times, but I have two separate scripts currently), or if there is a better way.

fieldA script trigger "OnObjectEnter" triggers:

Set Variable [$$previousValue; Value:myTable::${fieldA}]

--

fieldA script trigger "OnObjectSave" triggers:

If [$$previousValue ≠ myTable:???${fieldA}]

Set Field [myTable::fieldB; "x"}

End if

Ken

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