how to get particular record id in For each loop
to do the work same as roll-up summary in contacts to capture the age from all the contacts related to a particular account. so i write this trigger.....but he said that at (line 4) for all the different contacts related to different account, your code will add the age of all the contacts related to that account or not to the a single account record not to the designated account related records.
So i have to ask that, how should we differentiate at (line 5) to add the contacts age for that particular Account only.
Kindly reply as early as possible as i have to go back there tomorrow for same Interview.