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
Parth SrivastavaParth Srivastava 

Please help with apex trigger

please help me as i am new in apex triggers ....My requirement :
When user selects any contact through Add Contact lookup and save account then attach selected contact under Account and update “xyz ” text type field on Account with newly added contact’s rank.  (for example, if there are two contacts already under an account with rank 1 and 4 & you added a contact of rank 7 then account's sequenece will be 1,4,7. Trigger will be on account and event will be before update.Suggest