Shari Posted October 10, 2003 Posted October 10, 2003 Hello, I have a script that finds duplicate records and deletes. However, If the script does not find a duplicate it returns a message "No records match this request". What should I add to the script to not show this message when a duplicate is not found? Any advise would be appreciated. Shari
-Queue- Posted October 10, 2003 Posted October 10, 2003 Set Error Capture [On] will silence this error, but you will want to test for it so you don't delete non-duplicates.
Shari Posted October 10, 2003 Author Posted October 10, 2003 When I set Error capture it deletes all.
-Queue- Posted October 10, 2003 Posted October 10, 2003 That's why I mentioned you'll want to test for it. You could use If [not Status(CurrentError)] or If [status(CurrentFoundCount)] to test if at least one record results from a find.
Recommended Posts
This topic is 7718 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