4 Replies Latest reply on Apr 1, 2010 4:15 AM by jonnyt

    Script loop with If statement doesnt always work

    jonnyt

      Title

      Script loop with If statement doesnt always work

      Post

      I have a script as follows:-

       

      Go to Record (First)

       Loop

         If Upper(Supplementary)="YES"

           Omit

        End If

      Go to Record (Next, exit after last)

      End Loop

       

       

       

      but it doesnt always omit the records? Some times I have to run it 4 or 5 times for it to catch all records that it needs to omit.

       

      i have various similar looped calculations that dont seem to work 100%

       

       

      Why is this happening?