Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8113 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi everybody,...

i need help to make the following script:

1. find all the duplicate records - this i know how...

2. delete all the duplicates but keep the one with the most recent date...

3. if all the duplicates have the same date keep only one...

any help will be appreciated.... thanks...

Posted

Once you have found all the records that are duplicates you need to omit the records that you wanna keep. I would first sort by something that would identify the record and its duplicates (Account Number or something) then sort by your date. Now you need to loop through the records and omit the one with the most recent date. Once done, you will have your set that you can delete.

This topic is 8113 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.