function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdevelop011.3903242333401877E12sfdevelop011.3903242333401877E12 

what is trigger why we use trigger?

pls anybody help... actually i missed trigger class in my institute. and now i want to know what is trigger? why we use it? what is the step by step process for creating trigger? am spent lotof days on this concept. pls am really loosing my confidence. pls help me
thank in adv
Satish_SFDCSatish_SFDC
Triggers are used when you want some code to be executed when any record is inserted,updated, deleted or undeleted.

You can run the code before inserting or after inserting, before updating and after updating and so on..

You could check this link for more info:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers.htm

Regards,
Satish Kumar