function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jim AndersonJim Anderson 

cant get value to display but in query result

When I query:
 
SELECT Field,OldValue, NewValue,  CreatedDate, CreatedById....
 
I can get all the field values but not the OldValue and Newvalue.
 
$sObject->fields->Field works perfect and then on the next line i have $sObject->fields->OldValue and I cant get the value, it prints out blank, but I know there is a value. I can see it in my results:
 
stdClass Object ( [done] => 1 [queryLocator] => [records] => Array ( [0] => stdClass Object ( [type] => CaseHistory [Id] => [any] => Array ( [0] => Status [1] => New [2] => Closed [3] => 2007-06-08T14:25:39.000Z00530000000j2ppAAA ) ) [1] => stdClass Object ( [type] => CaseHistory [Id] => [any] => Array ( [0] => Subject [1] => Password Reset [2] => Password Reset 2 [3] => 2007-06-08T14:01:10.000Z00530000000j2ppAAA ) ) [2] => stdClass Object ( [type] => CaseHistory [Id] => [any] => created2007-06-08T12:59:55.000Z00530000000j2ppAAA ) [3] => stdClass Object ( [type] => CaseHistory [Id] => [any] => Array ( [0] => ownerAssignment [1] => Jim Anderson [2] => Response Line Function [3] => 2007-06-08T12:59:55.000Z00530000000j2ppAAA ) ) [4] => stdClass Object ( [type] => CaseHistory [Id] => [any] => Array ( [0] => ownerAssignment [1] => 00530000000j2ppAAA [2] => 00G300000017HLWEA2 [3] => 2007-06-08T12:59:55.000Z00530000000j2ppAAA ) ) ) [size] => 5 )
 
 
Am I missing something????
 
 
tlaappdev1tlaappdev1
I have this exact same problem toolkit 1.1  enterprise


i select a bunch of feilds and many of them just are not returning.

I can't even get the fields that are not returning to show when I just select that one field