I have an Oracle 9i database with Access 2003 front end for reporting. I have a query that selects a prompted date range, but I am missing records. Here's an excerpt from Toad:
DATE
2/2/2007
2/2/2007 09:15:22 AM
2/2/2007 12:22:03 AM
2/2/2007
From the list above, my query will pull record 2 & 3, missing 1 & 4.
My query is missing those records listed in Toad as 2/2/2007. these same records are displayed in the users' front end work order application as 2/2/2007 00:00:00.
Records that are correctly being pulled into the query have a stamp that includes a time > 00:00:00 (ie. 09:15:01 AM).
My query criteria statement is:
>=Format([Enter the Beginning Date],"yyyy-mm-dd") And <=Format([Enter the Ending Date],"yyyy-mm-dd")
I changed my criteria to >Format([Enter the Beginning Date], "yyy-mm-dd") then at the Date prompt I entered 02-01-2007 as Beginning Date and this picked up those records with the 00:00:00 timestamp. However, I don;t want the users to have to do the "date manipulation" to force the start date.
Thanks!
DATE
2/2/2007
2/2/2007 09:15:22 AM
2/2/2007 12:22:03 AM
2/2/2007
From the list above, my query will pull record 2 & 3, missing 1 & 4.
My query is missing those records listed in Toad as 2/2/2007. these same records are displayed in the users' front end work order application as 2/2/2007 00:00:00.
Records that are correctly being pulled into the query have a stamp that includes a time > 00:00:00 (ie. 09:15:01 AM).
My query criteria statement is:
>=Format([Enter the Beginning Date],"yyyy-mm-dd") And <=Format([Enter the Ending Date],"yyyy-mm-dd")
I changed my criteria to >Format([Enter the Beginning Date], "yyy-mm-dd") then at the Date prompt I entered 02-01-2007 as Beginning Date and this picked up those records with the 00:00:00 timestamp. However, I don;t want the users to have to do the "date manipulation" to force the start date.
Thanks!