June 5, 200718 yr 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?
June 5, 200718 yr 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.
Create an account or sign in to comment