B
bimthecon
Hi all,
Im trying to run a query based on a field which contains both the date
and time value and I want to specify criteria that will pull all
records for a given time frame regardless of date. I have tried using
the format() function which I know brings back a string value that is
diffucult to evaluate correctly. I have also tried using the
timevalue() function which works but will not let me specify any
criteria on that field. It gives me a data type mismatch error. The
criteria I have tried using:
between #12:00:00 AM# and #5:00:00 AM#
I have also tried submitting these with quotes instead of the # sign
but I still get the mismatch error. Thanks for taking the time to
read this post and for any help that can be provided.
Im trying to run a query based on a field which contains both the date
and time value and I want to specify criteria that will pull all
records for a given time frame regardless of date. I have tried using
the format() function which I know brings back a string value that is
diffucult to evaluate correctly. I have also tried using the
timevalue() function which works but will not let me specify any
criteria on that field. It gives me a data type mismatch error. The
criteria I have tried using:
#12:00:00 AM#
between #12:00:00 AM# and #5:00:00 AM#
I have also tried submitting these with quotes instead of the # sign
but I still get the mismatch error. Thanks for taking the time to
read this post and for any help that can be provided.