function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
how to give a query to fetch the data for 2 weeks back from now.
i gave like Date__c = Last_Week - 1 But its showing unidentified identifier ' - ' as an error
In Apex, the query criteria would be
"...where Date__c >= :system.today().addDays(-14) and Date__c <= :system.today()..."
Jeremy
thanks jeremy it worked.
In Apex, the query criteria would be
"...where Date__c >= :system.today().addDays(-14) and Date__c <= :system.today()..."
Jeremy
All Answers
In Apex, the query criteria would be
"...where Date__c >= :system.today().addDays(-14) and Date__c <= :system.today()..."
Jeremy
thanks jeremy it worked.