• rashmi s 9
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
trigger accClient on account (before delete){
Set<ID> sId= new Set<sId>();
for(Account a: trigger.old)
{
sId.add(a.id);
}
Set<Account> as= [Select Id from Account 
Where Client__c IN: sId];
for(Account a: trigger.old)
{
if(as.size > 0)
a.addError('cant Delete');

}
}

plz resolved
error: Error: Compile Error: unexpected token: '<' at line 7 column 5.
 
if birt date of contact is 30th august , how can we send wishes alert to the contact  at 29th august 11:55pm.

​How can we achieve this please help me.