6 Replies Latest reply: Mar 5, 2014 10:55 AM by Fabrice Aunez RSS

    problem with if in scripting

      hi,

       

      i have this if structure in my qvd generator qvw file

       

      if vAction=0 then

           if ...

           else

           .....

           End If

           if......

           else

           end if

      End if

      if vAction=-1 then

           if ...

           else

           .....

           End If

           if......

           else

           end if

      End if

       

      let's will said that vAction=-1, it should jump to the second condition but i don't know why it's continuing in the else inside the false condition (3rd line in example structure)

       

      i've checked the code and the structure a lot of times but i cant find why it happening this...

       

      what could be the problem??