You need to sign in to do that
Don't have an account?

Re : sObject assignment
Hi Guys...!
Hpoe all are doing well...
I have small Problem,
I'm updateing the Object record in Class.
like below, I'm using sObject Instance to Update the record.
I'm assigning like below but Error was throwing.
sObj.Phone_No__c = '9999999999';
so i used like this, but same result.......... Error
sObj.get('Phone_No__c') = '9999999999';
update sObj;
And I'm getting Error like
" Field expression not allowed for generic SObject ".
Now How can i update that perticular Record Phone No using sObject instance.
and when I'm using Id then no Error was throwing,
sObj.Id
then No error
I believe what you want, assuming you already have the existing sObject to work with is:
All Answers
I believe what you want, assuming you already have the existing sObject to work with is:
Thank You so much............!:smileyhappy:
Sooooo Sweet of You...........!