Here are two scripts one that will error and the other will not. Notice you can use a custom message if you want some info on what happened. In this case I have it commented I will not see a thing, FileMaker will continue back to where it was at (original layout) and not show it did not find anything. This is a simple primitive version but you are looking to understand the ways to work with the Set Error Capture script step. Make sure to turn it "OFF" at end of script, or it will capture all errors in program and you will never know things have gone wrong.
Thank You Chris. This worked flawlessly. I had tried a few different "If" statements and none seemed to work. This has stumped me for a few weeks now. Thanks again.