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

Query as String
How to give the below query to a string value??
select ID,Name,Opportunity__c,Account__c,Account__r.Owner.isActive,Account__r.name,Account__r.ownerid,Lease_End_Date__c,Install_Date__c,MiF_Category__c from Equipment__c where ((MiF_Category__c='Lease') or (MiF_Category__c='Own')) and ((not Opportunity__r.name like '%_LeasedEquipment%') or (not Opportunity__r.name like '%_OwnedEquipment%')) and Account__r.Owner.isActive=true
Thanks in advance,
Malar
Try this :
You just need to escape the single quotes.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Try this :
You just need to escape the single quotes.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Use it like this
Cross Post
Indeed! And happy to be on same page.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hey thanks guys. Nice to get a timely reply.
Thanks,
Malar