You need to sign in to do that
Don't have an account?
Alexis Rodriguez
Dynamic soql
Hi,
I am trying to do the following query:
select id, Name, (select ActivityDate, whatid, WhoId from Events where ActivityDate < :someMap.get(/* parent Contact Id */).datefield__c) from Contact
But this syntax is not supported in soql.
Is there any workaround to this ?
Thank you
Refer dynamic SOQL Consideration in the link given below
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dynamic_soql.htm