T
Tom
Hi
I have an MSDE table joined to an Access front end. A field called
[DATE_TIME] holds the date and time (including hrs mins and seconds) that an
action took place. I need to run a query so that I can report on a range of
dates (days, not times). In the past, the expression "between [START_DATE]
and [END_DATE]" has worked fine on Access tables. However, this is the first
time I have run this query on date and time fields, and on MSDE. When I
enter a start and end date of, say 1/4/5 to 30/4/5 (UK format), data is
returned for 1st April to 29th April. It seems to run one day short. This
means that if I want one day only, such as 1st April, I have to enter 1/4/5
to 2/4/5. I cannot expect my users to live with this. I have tried using the
DateValue expression to convert the date field to a variable called
[ACT_DATE] (actual date) but this has had no effect. Can anyone help with
this? Outputting to a temporary table is not an option I want to consider
unless I really have to.
Regards
Tom
I have an MSDE table joined to an Access front end. A field called
[DATE_TIME] holds the date and time (including hrs mins and seconds) that an
action took place. I need to run a query so that I can report on a range of
dates (days, not times). In the past, the expression "between [START_DATE]
and [END_DATE]" has worked fine on Access tables. However, this is the first
time I have run this query on date and time fields, and on MSDE. When I
enter a start and end date of, say 1/4/5 to 30/4/5 (UK format), data is
returned for 1st April to 29th April. It seems to run one day short. This
means that if I want one day only, such as 1st April, I have to enter 1/4/5
to 2/4/5. I cannot expect my users to live with this. I have tried using the
DateValue expression to convert the date field to a variable called
[ACT_DATE] (actual date) but this has had no effect. Can anyone help with
this? Outputting to a temporary table is not an option I want to consider
unless I really have to.
Regards
Tom