You need to sign in to do that
Don't have an account?
ritika
how to check duplicate record insertion through visual force page?
hi
I m inserting new records (account ) through visual force page
but duplicate records are also getting inserted . How can i keep a
check on the insetion of duplicate records.Please guide if anybody
has idea on this
Thanks
Swati
If you are using a custom controller, you can write your logic to check duplicates in you class and if you are using a standard controller, you can write a trigger which checks for duplicates while inserting a record. A sample trigger code is given for leads in Force.com Cookbook.
GreatG
Also, how do you know you have a duplicate - matching email? matching name? matching company?