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

Need to update an Account field based on field values in related Contacts
I mark my trained clients with a "trained date" field in the Contact record, and I want to create a checkbox field on the Account level that will check itself if the Account record has an contacts that have been trained in the last 3 months.
I know I will have to make a trigger, I just need to know how I would go about writing it/has someone already written a trigger to help with this
I know I will have to make a trigger, I just need to know how I would go about writing it/has someone already written a trigger to help with this
Below is a code for the same.
Hope It will help you!
Regards,
Akshay