The BETWEEN function should be used in all non SQL situations in VFP. In all SQL avoid the use of the BETWEEN() function as it will make it harder for you to do straight SQL outside of VFP.
While this is possible
Code:
SELECT * FROM TABLE WHERE BETWEEN(DATEFIELD,ONEDATE,ANOTHERDATE)
this is more SQL compatible
Code:
SELECT * FROM TABLE WHERE DATEFIELD BETWEEN ONEDATE AND ANOTHERDATE
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.