GlennC Posted May 28, 2003 Posted May 28, 2003 Sometimes a 'find' within a series of linked scripts will not find any records, and the dialogue to that effect pops up. In that event I want the current script to cancel and go on to perform the next script - the one linked by the 'perform script' as the last step in the current script. Is there a way to make this so?
Mike D. Posted May 28, 2003 Posted May 28, 2003 GlennC In your script, put the Set Error Capture step before you perform the find. After the find step, put an if loop something like this If[status(CurrentError) = 401] Perform Script [NextScript] End If HTH, Mike
SteveB Posted May 30, 2003 Posted May 30, 2003 It's easier to use the following, rather than trying to remember what the appropriate error code # is. Instead, use: Status(CurrentFoundCount) = 0 Steve
Recommended Posts
This topic is 7852 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