B
bender
using an Access d/b, trying to make a page where user can input the
number of the month to find out how many files were created in the
month.
custom query i'm trying to use:
SELECT count(*)AS filecount FROM Results WHERE
DatePart('m',[timestamp]) = ::monthnumber::
doesn't work.
btw, i changed the timestamp to a short date field. was this
necessary? As is, if I put in a 2 instead of the ::monthnumber::, it
works ok.
Thanks,
Larry
- - - - - - - - - - - - - - - - - -
"Forget it, Jake. It's Chinatown."
number of the month to find out how many files were created in the
month.
custom query i'm trying to use:
SELECT count(*)AS filecount FROM Results WHERE
DatePart('m',[timestamp]) = ::monthnumber::
doesn't work.
btw, i changed the timestamp to a short date field. was this
necessary? As is, if I put in a 2 instead of the ::monthnumber::, it
works ok.
Thanks,
Larry
- - - - - - - - - - - - - - - - - -
"Forget it, Jake. It's Chinatown."