3 Replies Latest reply on Mar 20, 2016 8:52 AM by Draco

    ERROR in "IF" of trigger,...

    Draco

      Hi,

      this happens when you run a trigger in a field of a record in a portal.

      try in : ObjectValidate, ObjectSave, ObjectExit

       

      SCRIPT TRIGGER ###########################################

      Set Variable : [ $cont ; ExecuteSQL .... ]     OK   Value "cont" = 2

      Set Variable : [ $lim ; tablePortal::limite ]     OK  Value "lim" = 10

       

      Show Custom Dialog [ "Value : " & $cont & " - " & $lim]  OK  Value : 2 - 10


      If [$cont > $lim ;

          Show Custom Dialog [ " ERROR  !! " ]

      EndIf

      ###########################################################

       

      El problem isThe error message appears



      FMA14.0.5

      OSX 10.10.5