You need to sign in to do that
Don't have an account?
sf sharath
please resolve the error help me
Error: Compile Error: unexpected token: ':' at line 3 column 20
trigger employeetrigger on employeec__c (before insert,before update)
{
for(employeec__c : trigger.new)
{
if(country__c == null)
{
country__c='India';
}
}
}
It has to be
and you can reference fields of employee__c by using
e.country__c= whatever
thankyou somuch