+ Start a Discussion
sfdc_ninjasfdc_ninja
I would take a look at some of the resources out there for learning how to write a trigger.

http://shivasoft.in/blog/salesforce/step-by-step-salesforce-tutorial-%E2%80%93-creating-trigger-and-test-cases-%E2%80%93-6-of-6/