+ Start a Discussion
rao venkyrao venky 

Contact trigger

Create contact on account by writing trigger Please send the code???
Shashikant SharmaShashikant Sharma
You could read about triggers and get examples over here : http://forceschool.blogspot.in/search/label/Apex%20Triggers (http://forceschool.blogspot.in/search/label/Apex%20Triggers)
Amit Chaudhary 8Amit Chaudhary 8
Please Refer below blog for Trigger framwork :-

Please let us know if this will help you.

Amit Chaudhary
Ajay K DubediAjay K Dubedi
You can use the below trigger to insert a contact every time an account is inserted.
trigger newContact on Account (after insert) 
account a=trigger.new[0];
    list<contact> lt=new list<contact>();
        contact c=new contact();
    insert lt;

Let me know if this helps.