• TKap
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi All,
 
Can anyone direct me of how to update field in salesforce db? This is part that I am already done:
 
-----------------------------------

sfdcLogin();

sfdc.QueryResult queryResult = null;

binding.QueryOptionsValue = new sfdc.QueryOptions();

binding.QueryOptionsValue.batchSize = 100;

binding.QueryOptionsValue.batchSizeSpecified = true;

StringBuilder sb = new StringBuilder();

sb.Append("UPDATE Contact SET IsDeleted = 'true' WHEN AccountID = '");

sb.Append(accountID + "'");

queryResult = binding.query(sb.ToString());

-----------------------------------
 
Am I missing something there? Thanks in advance.