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

DateTime type custom field in query gives error

   I am using C#.NET 2.0 (MS Visual Studio 2005) to access SalesForce. I am getting the following error when I query() the Contact.
  There is an error in XML document (1, 1992).
  My query string is
   Select RECEIPT_NUMBER__c,RECEIPT_DATE__c,Id from contact
But if I remove the RECEIPT_DATE__c  (Select RECEIPT_NUMBER__c,Id from contact)  then the query works FINE.
Please let me know what could be the problem.