我有两个字段(FirstName,LastName)使用我想添加的触发器
both in one field Middle Name=(FirstName+LastName).
由于 库马尔
答案 0 :(得分:0)
trigger ObjBeforeInsert on Obj__c (before insert) {
for(Obj__c obj:Trigger.new){
obj.Name= obj.FirstName +''+obj.LastName;
}
}