4 Replies Latest reply on Oct 14, 2016 11:49 AM by philmodjunk

    Loop Script only working on the first record in the found set


      I am on a layout with my found set.....my script is to duplicate the records and stop once there is no foundcount.


      I have:


      Go to Record/Request /Page [First]


           Duplicate record/request

           Go to Record/request/page [next; exit after last]

           exit loop it [ not get (FoundCount)]

      End Loop


      So my first question is why is this script only duplicating the first record?  (I am following the example in filemakers script reference)

      Second question - does it matter if there are spaces between the (  and the first word in those brackets?


      Thank you!