You need to sign in to do that
Don't have an account?
Selva
how to form the nested query in javascript?
Hi,
I am developing one S-control snippet (javascript) and using sforce.connect.query( )
am forming the nested query.
select t.tocOpportunityProductId__c from AgreementId__c
where t.tocOpportunityProductId__c in (select distinct tocOpportunityProductId__c from tfAgreementProduct__c)
the above query failed and saying error as the keyword "in" not found.
is there any other alternative method instead of "in" keyword"
Plz reply me
Or you can probably use a relationship query here if these objects are somehow linked to each other with lookup relationships. Look up relationship queries in the API docs.