Dean Redding Posted February 13, 2007 Posted February 13, 2007 I have created a script to do a search but when it cannot find the requirements from the search it comes up with a message saying "No Records match this set of find requests" And gives me the option to Cancel, Continue or Modify Find. Is there a script that I can add to my search or to place have that search script, that it would cancel when it shows this message?
Genx Posted February 13, 2007 Posted February 13, 2007 Set Error Capture[on] Allow User Abort[off] Enter Find Mode[] SetField[ x ; value y ] Perform Find[] If[ Get( LastError ) <> 0 ] Do whatever you want here if no records were returned. End If
Recommended Posts
This topic is 6495 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