Sometimes we need to check duplicate while inserting or updating reocrds in salesforce. We can achieve this by using trigger. here is sample code for how to prevent insert or update record which is already exist between two dates.
Read More...
Read More...