4 Replies Latest reply on Dec 20, 2015 11:10 PM by binu.alexander

    Help with loop in script ... copying data from record(s)  from one found set to another table ?


      Hi!  I am trying out  looping concepts  in FM ... I am trying to copy some data from  A Source Table  ( a specific Found Set )  to a Target Table   using a loop through records ...     Right now  the Found Count = 2  ( with some test data )  ...  The script is successfully copying  the first record to the first record in the target table  and also correctly creating 2 new records in the target table ( same as found count )...   but only the data from the first source record is being copied ...     I am not able to understand Why is the the second record data not being copied ?


      Please see if you can help spot the error in logic ...  Thanks

      Screen Shot 2015-12-21 at 11.50.26 AM.pngScreen Shot 2015-12-21 at 11.50.40 AM.png