4 Replies Latest reply on Oct 18, 2012 9:42 AM by Lizhe

    local variable used in web view


      HI All,


      I have a web view which use a local variable $web. To save the loading time, I create a trigger on Layout/OnRecordLoad to clear $web when switching records:

      set variable $web=""

      commit record

      However, the $web value is not cleared. I added the commit statement in the script, checked on debug, looked at the variable value. Everything was fine, until the script was completed the $web showed again the old value from the previous record.



      Is this a bug or something I did was wrong? Please help, thanks.