Help, my loop isn't working!

For some reason my loop isn't working correctly! Help! When the script runs, the script begins, but not with the first record (in the found set). Then, for some reason, it keeps looping. Why doesn't it stop looping and continue executing the script? Did I forget something?

Shanna Kurpe


Try adding these script steps to your loop:

  • Go to Record/Request/Page [First] // this will go to the first record in the found set
  • -- Do stuff to the selected record
  • Go to Record/Request/Page [Next; Exit after last] // select the checkbox "Exit after last"
  • -- this will loop through the records, stopping after the last and continue with the rest of your script.

Hope this is helpful.

Bob Kuivanen

accepted answer

I agree with Bob 100%

Go to Record/Request/Page [First]


Do stuff

Go to Record/Request/Page [Next; Exit after last]

End Loop

Robert Jackson

Back to questions