lcurrie Posted October 30, 2006 Posted October 30, 2006 Hi All, I'm working on a delete duplicates script based on some posts i've found on the forums. Obviously, i'm missing something. }:| I've posted the script I've created here. When i run the script, i can tell the find all part works, but then, very quickly (way too quickly for it to be checking duplicates - like a second or two) the script ends up at the last record. Here is the basic premise/thinking: GLOBAL is a global storage container. - find all records - sort them by email address - set global to a calculation of 'email address with name' - compare GLOBAL to actual 'email address with name' - if = delete record - if not, set new GLOBAL and repeat until the last record. Thanks for any help you can provide. Thanks! Lynn
mr_vodka Posted October 30, 2006 Posted October 30, 2006 (edited) Lynn are you certain it is not working? The script should be working. Edited October 30, 2006 by Guest
lcurrie Posted October 30, 2006 Author Posted October 30, 2006 Thanks for the confidence boost. I ran it again comparing only email addresses (not names) and, you're right, it works! Lynn
John Mark Osborne Posted October 30, 2006 Posted October 30, 2006 I typed this script into an example file and it appears to work but actually deletes the last set of duplicates without keeping one. I rewrote the script and it seems to be working (let me know). See the attached file. However, I am not sure why your script is running so quickly and not deleting the duplicates. Is it possible your global field wasn't actually defined as a global field? dups.fp7.zip
Recommended Posts
This topic is 6601 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