14 Replies Latest reply: Feb 24, 2014 6:37 AM by Josetxo Amonarriz RSS

    Loop with a list of values (not from i to j)

    Josetxo Amonarriz

      Hello,

       

      I need to loop over the records of a table. Seems to be quite easy: for VAR=0 to NoOfRows('TableName') -1

       

      But this is a problem for me. I need VARto be:

       

      VAR
      1
      2
      5
      7
      11
      12

       

      Otherwise I get an error. Is it  possible to make a loop with a list of values like in the table above? Thanks!