1 Reply Latest reply on Aug 8, 2014 10:51 AM by philmodjunk

    script trigger on record exit



      script trigger on record exit


           Is there a way to run a script trigger when you exit a record or change records?

        • 1. Re: script trigger on record exit

               OnRecordLoad will be tripped each time that you change records.

               With a global variable and a bit of creative scripting, you can keep track of either the record number or the primary key of the previous record so that your script not only knows what record is the current record, but where  you came from to change to this record.

               If the record has been edited, changing records will also trip the OnRecordCommit trigger.