G
Guest
I can't find the roght way to query time as in greater than or less than. For
example what stores that are open after a certine time.
example what stores that are open after a certine time.
#12:00:00 PM#
Van T. Dinh said:If you want to use explicit time (and date) in your query, you need to use
the hash (#) delimiters to indicate that it is a date/time value. For
example:
.... WHERE [OpenTime] >= #09:00:00#
will find stores that open on or after 9:00 am.
Post much more details if you need further help.
--
HTH
Van T. Dinh
MVP (Access)
Alex said:I can't find the roght way to query time as in greater than or less than. For
example what stores that are open after a certine time.
smilee8_28 said:I am clueless about Access but I'm trying to figure it out. This is exactly
what I am trying to do in a query. Eventually I need to sum entries in an
Amount Paid field but I need seperate totals for entries made before noon
and
those made after noon. I am just trying to select records using the
following
criteria
#12:00:00 PM#
but this is not working. My field is Time from a table that already
exists.
Should I not be using the criteria entry for this? Or am I missing
something?
This should be easy I know but I'm going crazy! Any help would be greatly
appreciated.
Van T. Dinh said:If you want to use explicit time (and date) in your query, you need to
use
the hash (#) delimiters to indicate that it is a date/time value. For
example:
.... WHERE [OpenTime] >= #09:00:00#
will find stores that open on or after 9:00 am.
Post much more details if you need further help.
--
HTH
Van T. Dinh
MVP (Access)
Alex said:I can't find the roght way to query time as in greater than or less
than. For
example what stores that are open after a certine time.