3 Replies Latest reply: Mar 20, 2012 11:24 AM by ElianoMarques RSS

    Looping in script

      Hi People,


      I'm tring to loop in the script and i'm founding a few erros.





      Load ID

      From (...);


      // ID is a filed name with ID codes


      Them i want to:


      for i=1 to noOfRows('tab1')

                     Let a=fieldvalue(ID,i);

      Load A

      from (..... $(a).xlsx) ;


      I'm having problems with this so a also tried to numerate the xlsx files from 1 to 10 and


      for i=1 to 10

      Load A

      from (...$(i).xlsx) ;


      and didnt work as well.


      Can someone help?