February 28, 200916 yr 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
Create an account or sign in to comment