You need to sign in to do that
Don't have an account?
Rajevls
Null Value- when trying to copy one text field to another
if(System.Trigger.oldMap.get(T.Id).Task_Comments__c != T.Task_Comments__c ){
T.Description += '\n'+ ' ' +Uname +':'+' '+ ModDate +':'+' '+ T.Task_Comments__c + '\n' + '\n';
}
If Task_Comments__c is Null then Description is null
On 1st enrty
-------------------
null
Rajeev: 2013-01-23 15:57:35: Test
--------------
Second entry
---------
null
Rajeev : 2013-01-23 15:57:35: Test
Rajeev : 2013-01-23 15:57:51: Test Data
----------
how can i remove this null from from getting populated?
Did you try adding a condition to check for null value??
All Answers
Did you try adding a condition to check for null value??
Thanks Naidu ..
I was checking the Null value outside the loop thats why getting the error . Thanks for the help.