B
Brian L. Thor
I have a table with a Date/Time column (StartTime) that stamps transactions
with the current system date and time. I want to be able to query those
records by this column using a range of dates. For example: [StartTime]
Between 3/1/2004 and 3/31/2004. If I use this type of syntax Access does not
return any transactions from the last day of the date range. I can add 1 day
to the range effectively making my query [StartTime] Between 3/1/2004 and
4/1/2004. This seems to be effective but seems like a dumb way to handle the
situation. I've tried all sorts of Format and FormatDateTime combinations
without success. Does anyone know of a better way to handle this?
Thanks in advance, Brian.
with the current system date and time. I want to be able to query those
records by this column using a range of dates. For example: [StartTime]
Between 3/1/2004 and 3/31/2004. If I use this type of syntax Access does not
return any transactions from the last day of the date range. I can add 1 day
to the range effectively making my query [StartTime] Between 3/1/2004 and
4/1/2004. This seems to be effective but seems like a dumb way to handle the
situation. I've tried all sorts of Format and FormatDateTime combinations
without success. Does anyone know of a better way to handle this?
Thanks in advance, Brian.