March 10, 200421 yr Hi All I Just recently started writing scripts. I am having trouble with exit loop step. I created a script which exports found records and imports them into another Filemaker document, Ok this worked well. My problem is when I need to delete records found. So I use a loop step to delete found records. the loop continues and won't stop even with the exit loop step. What am I doing wrong Sample Loop Exit loop if Status(current found records=0) go to record/request/page (first record) delete record request/page End loop Do I need a loop step. Thanks in advance Version: v6.x Platform: Mac OS X Panther
March 10, 200421 yr Exit loop if [ Status (CurrentFoundCount) = 0 ] should work. You don't need the Go to first record step. However, if your goal is to delete the found set of records, why not just use the Delete Found Records step?
Create an account or sign in to comment