Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7753 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 7753 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.