+ Start a Discussion
sreeesreee 

i dont want insert duplicate records in table ,how can achieve with apex code

i dont want insert duplicate records in table ,how can achieve with apex code...thanks in advance

Abhi_TripathiAbhi_Tripathi

You can do it using maps,

 

Maps have key and values, where keys are "unique" and correspondingly have values, and how to populate map? you can wish to see this post

 

http://abhithetechknight.blogspot.in/2013/10/logic-for-maps-having-list-at-values.html