for example . . there is a memberDate field in member table . . i want to query the member who became the member before this year . . by using function . . ! i mean I don't wanna do like " WHERE memberDate < #1/1/2012# " pls . . help me thz
for example . . there is a memberDate field in member table . . i want to query the member who became the member before this year . . by using function . . ! i mean I don't wanna do like " WHERE memberDate < #1/1/2012# " pls . . help me thz
You mean dynamically determine the beginning of the year with a function? Use DateSerial along with Year(Date()) for the year argument.
thanks . . .
It works.
Happy to help, and welcome to the site.