i am using Access97.
I am using the Between function in a query and I noticed if the date field has a time AND a date, and it falls at the end of my range, it isn’t included.
Example,
Here is a value in my date field: 07/31/2000 10:15:00 AM
On my query, if I do Between #07/01/2000# And #07/31/2000#
The record above doesn’t show up!!!
If I remove the time (remove 10:15:00 AM), then it does appear.
An easy solution would be to change the table structure, but I can’t.
For the query, I went to properties and for that field , set the format to Short date. But, that only visually removes the time, it doesn’t cause the record to appear when doing the Between filter.
HELP!
thanks
ruth
ruth.jonkman@wcom.com
I am using the Between function in a query and I noticed if the date field has a time AND a date, and it falls at the end of my range, it isn’t included.
Example,
Here is a value in my date field: 07/31/2000 10:15:00 AM
On my query, if I do Between #07/01/2000# And #07/31/2000#
The record above doesn’t show up!!!
If I remove the time (remove 10:15:00 AM), then it does appear.
An easy solution would be to change the table structure, but I can’t.
For the query, I went to properties and for that field , set the format to Short date. But, that only visually removes the time, it doesn’t cause the record to appear when doing the Between filter.
HELP!
thanks
ruth
ruth.jonkman@wcom.com