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
when we create a new record a field should be updated with the previous record value
You can set data in field like
trigger TriggerName on Account(before insert) {
for(Account acc : Trigger.New) {
acc.Name = 'Test';
}
}