You need to sign in to do that
Don't have an account?
steve456
Need an Idea
I am trying auto records when a record is created.I am using after insert trigger.
If in the trigger if i give after update also wat happens is when a recorded is edited and saved a record is created
I want to know as to how do i update the existing auto record than creation of new record.
If its not possible
How can i delete the existing auto record whenever the record is edited
use upsert() for this
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_upsert.htm