Ads

Saturday, 25 May 2013

How to update record using SOQL?

Example:

Account act = [SELECT Id, Description__c FROM Account WHERE id = '001A000000vtDZo'];
act.Description__c = 'Fully product based account';

Update act;

No comments:

Post a Comment