You need to sign in to do that
Don't have an account?

Query Error In Custom Object
Hi,
I wrote query in JavaScript and I get this message: "unterminated string constant".
I think it happens because the line break (maybe not).
How can i solve it?
the query:
var records = sforce.connection.query("select Date_Of_Order__c,
from Dongle__c,
where (Name = 'dongNum')");
from Dongle__c,
where (Name = 'dongNum')");
Thanks,
Chen
Try this,
var records = sforce.connection.query("select Id, Date_Of_Order__c from Dongle__c where Name = 'dongNum'");
-- Ganu
How can i solve this?
Thanks, Chen
"Select xxx from yyy where zzz" and not "select xxx, from yyy, where zzz".
Best, Steve.