You need to sign in to do that
Don't have an account?
nits
between(X,Y) not working in SOQL
opp=[select account.fax, apptaker__c, name, ownerid from opportunity where apptaker__c=:adid and stagename='Prospecting'and closedate between(frmdt, todt) order by closedate asc];
I am trying to use this query. I am getting error at between. If apex doesnot support this, what is work around
Thank in advance.
Try "where closedate >= :fromDate and closedate <= :toDate"
Thanks for your reply dear!!
It is not mentioned anywhere that SOQL supports between().
now One more query..
if SOQL is like
opp=[select account.fax, apptaker__c, name, ownerid from opportunity where apptaker__c=:adid and stagename='Prospecting' order by name asc];
The web service will be called by a UI developed in java.
SO how execute anonymous can help our cause