September 5, 200322 yr I want a script to exeute a different script if it can't find similar records. I have a script that grabs the name of a title, then goes to another database and searches for similar items with the same title. What I would like to happen is that instead of getting the screen, "no records match this request", the original find script would instead execute a different script. So basically some type of if then statement, but how do I use scriptmaker to execute this? Thanks, Paul
September 5, 200322 yr Use Set Error Capture [On] at the beginning of your script (or at least before you do the find). Then use either If (not Status(CurrentFoundCount)) or If (Status(CurrentError)) immediately after your Perform Find script step, and put your alternate script after the If statement, followed by an Else with the normal procedure after that.
Create an account or sign in to comment