0

我有两个字段(名字,姓氏)使用我想添加的触发器

    both in one field Middle Name=(FirstName+LastName).

谢谢库马尔

4

1 回答 1

0
trigger ObjBeforeInsert on Obj__c (before insert) {

    for(Obj__c obj:Trigger.new){
        obj.Name= obj.FirstName +''+obj.LastName;
    }
}
于 2013-01-27T06:57:40.087 回答