amypaulsmom Posted March 27, 2002 Share Posted March 27, 2002 HI all - I have a script that I want it to exit if the find does not find anything. Here is the basics of my script: Set Error Capture (on) Show All Records Go to Layout Enter Find (find criteria is entered here) Perform Find If (Status (currenterror) = 401 Exit Script Else Go to first record (starts loop) does loop stuff go to next record (exit after last) end loop end if exit script The script is just going into the loop if the script does not find any matches - it is not exiting. What am I missing. Also - just a side - can a Sort script step - make your loop go around in circles on the same record? Thanks for the help Link to comment Share on other sites More sharing options...
amypaulsmom Posted March 27, 2002 Author Share Posted March 27, 2002 Well - Nevermind I took a couple pause steps out that I had in for testing and it seems to be okay for the moment. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8078 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