You need to sign in to do that
Don't have an account?
Darren
Returning ID from query
Using the WS API 2.5 with partner WSDL, I am sending a query of "select id, name, type from account". I get the correct number of rows, but I only get two columns returned, name and type. I have tried various attribute names instead of id, but I just cannot get the id to be returned. Why?
I want the id to drag into a local working table to help build the hierachy for some more accounts to be loaded.
Typical! After spending a day looking for the Id, I now find it on the sObject itself, minutes after I post! I still think that the query should return it with the rest of the fields, or error appropriately. The behaviour is inconsistent for a query language, and had me confused for far too long.