12 Replies Latest reply: Feb 12, 2016 12:43 AM by Shyamala Mahendran RSS

    loop through either the list or a variable

    Shyamala Mahendran

      I have a list which is obtained from an expression (not a direct column value) and the values vary upon selection of another list .

      i am able to save this as a comma separated value in a variable.

      variable.pnglt.png

      now i need to loop through this.

      for eg. it has 2 values as 1 and 2

      then say vLOOP = 1,2

      for (i=0, i<=Count(vLOOP ), i=i+1)

       

      how many time time the loop in executed that many time i want to display a text box

      say if vLOOP has only one value

      i have to display one value

       

      if it has 3 (4,5,6) then i have to display 3 values. for this i wanted to loop through.

      Kindly suggest