4 Replies Latest reply on Nov 16, 2015 5:39 PM by fitch

    How can I have an OnRecordLoad script executed only one time?

    juandent

      Hi,

       

      I have a layout with a OnRecordLoad script which does something like:

       

       

      Enter Find Mode[]

      SetField[ X::idk_statementLine; $id_statementLine]

      Perform Find[]

       

      and since it finds the record then it is loaded again and the script runs again, forever --- an stack overflow!!

       

       

       

      Any ideas?

       

      Thanks,

      Juan