D
DaGoon
To All,
Can I please trouble the group for some help with a query.
I'm querying a table named "tblezstops" (without quotes), this table
has a field named "stoptime" (without quotes). The format of the data
in the "stoptime" field is exactly as follows (without quotes):
"11/22/2005 2:45:59 PM"
I need the query to retrieve records that have a date one day earlier
then the date I run the query and I also need the same query to
retrieve records between...lets say 9:00 AM through 10:00 PM.
What would the correct syntax of the criteria statement be in the
"stoptime" field of the query? With my limited experience I tried the
following with no luck:
Date()- 1 Between #9:00:00 AM# And #10:00:00 PM#
I would greatly appreciate any help anyone would have to offer.
Can I please trouble the group for some help with a query.
I'm querying a table named "tblezstops" (without quotes), this table
has a field named "stoptime" (without quotes). The format of the data
in the "stoptime" field is exactly as follows (without quotes):
"11/22/2005 2:45:59 PM"
I need the query to retrieve records that have a date one day earlier
then the date I run the query and I also need the same query to
retrieve records between...lets say 9:00 AM through 10:00 PM.
What would the correct syntax of the criteria statement be in the
"stoptime" field of the query? With my limited experience I tried the
following with no luck:
Date()- 1 Between #9:00:00 AM# And #10:00:00 PM#
I would greatly appreciate any help anyone would have to offer.