function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
praveenpropraveenpro 

List Comparison

Hi everyone ,

 

  task is i have two lists

                                           1. Existed records 2. new records

 i need to compare two lists and separate duplicates from new records  to one list and insert new records to another list.  pls give me suggestion urgent...

 

Thanks,

Praveen.

bob_buzzardbob_buzzard

Are new and existing records identical, or do the new records not have an id for example?  

 

How can you determine a duplicate - do all the fields have to match or is it based on a field (name/id?).

praveenpropraveenpro
its based on list.field
bob_buzzardbob_buzzard

But which field?  One of them, all of them?