scottvaughan Posted June 5, 2007 Posted June 5, 2007 I have a script that searches for records. If it finds none based on the criteria, it creates a new one. The hickup is that I want it to be seemless. Right now, when no records are found, I get the "No records found" message and am presented with the option to Modify, Continue or cancel. I always want to Continue. Is there a way to tell FM to do that?
David Jondreau Posted June 5, 2007 Posted June 5, 2007 Add this to your script before the "Perform Find" script step. Set Error Capture [On] That will suppress any error messages, such as "No records found." One caveat is that such error messages also includes improper find requests, like text in a date field, which may or may not be relevant depending on how your script is set up.
Recommended Posts
This topic is 6380 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