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

Update query

I'm trying to auto-update a record when a user clicks the "edit" button.  I've written an update query, but the control is giving me a "malformed query" error message.  Are we able to write update queries through ajax?

Also, is there any kind of white paper for the SOQL language?
Check out AjaxTools on the AppExchange or do a search on Salesforce Explorer in Google.
I use both of them to check queries I'm designing for the purpose of using them in SControls.
SOQL is for select queries only, you need to use the update operation to make updates. both of them are covered in the API docs.