You need to sign in to do that
Don't have an account?
mdinatale
SOQL delete the date value
This is probably simple but i can't seem to figure this out. Just want to make the date field blank, what ever date is it it, make it gone :-). I get a not valid value. Thanks in advance
$theID = $record->Id; $setA = array( 'Appointment_Date_Time__c' => NULL, 'fixdate__c' => 'Y' ); $saveObj1 = new SObject(); $saveObj1->fields = $setA; $saveObj1->type = 'Work_Order__c'; $saveObj1->Id = $theID; $allOBJ[] = $saveObj1; if(!empty($allOBJ)){ $createResponse = $mySforceConnection->update($allOBJ); }
Hi
Try this....
Date myDate = date.newinstance(2010,12,23);
myDate = null;
Appointment_Date_Time__c = myDate;
I think It will work....
Did this solve your problem ,If so please mark it solved so that others get benified...
Thanks
asish