You need to sign in to do that
Don't have an account?

how to write a trigger on Account object if the record is exist then update if not exist then create new record ?
Hi Every one ,
How to write a trigger on Account Object if the record is Exist then update the records else created new Account Records ?
Thanks
Aklkk
How to write a trigger on Account Object if the record is Exist then update the records else created new Account Records ?
Thanks
Aklkk
As per my knowledge, we cannot achieve this functionality through the trigger. We need to use visual force pages or lightning pages for this.
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
Salesforce Freelance Consultant/Developer/Administrator
@For Salesforce Project Support: varaprasad4sfdc@gmail.com
Salesforce latest interview questions :
https://www.youtube.com/channel/UCOcam_Hb4KjeBdYJlJWV_ZA?sub_confirmation=1
how to solve this problem with Visualfroce Page or Lightning page pealse example ?
becasue my mind saying that its achived by Trigger. if duplicate record found then update some fields and if not found duplicate then create new Account
Thanks
Hope you are doing good. You mean upsert operation?/
Regards
Rajesh