Erikj Posted March 10, 2004 Posted March 10, 2004 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
Fitch Posted March 10, 2004 Posted March 10, 2004 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?
Recommended Posts
This topic is 7566 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now