function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
trigger erroronrating on Account( before update) { for (Account acc: Trigger.new){ if(acc.rating!=Trigger.oldMap.get(acc.Id).rating) { acc.addError ('You cant change this value'); } } }
try this code:
Thanks
Anil.B