You need to sign in to do that
Don't have an account?
tlaurie
get contacts from opportunities
I am trying to query contacts for a particular opportunity and I keep getting malformed query. Any help with the wuery or am I totally on the wrong track?
binding.query("Select firstname, lastname From Contact where Id IN (Select contactid from OpportunityContactRole where OpportunityId= '" & opportunity.Id & ")'")
misplaced ")"
binding.query("Select firstname, lastname From Contact where Id IN (Select contactid from OpportunityContactRole where OpportunityId= '" & opportunity.Id & "')")