F
FBxiii
This may sound a little a confusing, but here goes...
I have a query that is run against a database using an ODBC link.
The table in question has a field called CREATED_DATE_TIME and is in the
format DD/MM/YYYY HH:MM:SS
For years now, I have used a report to bring back records where the
CREATED_DATE_TIME Between #01/10/2007# and #31/10/2007# (UK format). This
has seemed to work fine.
I have come to run the report this month and it is missing some records from
the 31/10/2007. If I remove the between criteria from the report, it returns
the records, showing the CREATED_DATE_TIME as 31/10/2007!!
If I put the time into the date parameters (i.e. 31/10/2007 00:00:00 -
31/10/2007 23:59:29) this brings back the required fields also! Or if I ask
for records between 31/10/2007 and 01/11/2007, this works aswell.
Is there an explanation to this? Why would the report become unstable after
all this time?
My gut instinct is that there is a problem with the linked table itself, but
I may be missing something.
Can anyone help?
Cheers,
Steve.
I have a query that is run against a database using an ODBC link.
The table in question has a field called CREATED_DATE_TIME and is in the
format DD/MM/YYYY HH:MM:SS
For years now, I have used a report to bring back records where the
CREATED_DATE_TIME Between #01/10/2007# and #31/10/2007# (UK format). This
has seemed to work fine.
I have come to run the report this month and it is missing some records from
the 31/10/2007. If I remove the between criteria from the report, it returns
the records, showing the CREATED_DATE_TIME as 31/10/2007!!
If I put the time into the date parameters (i.e. 31/10/2007 00:00:00 -
31/10/2007 23:59:29) this brings back the required fields also! Or if I ask
for records between 31/10/2007 and 01/11/2007, this works aswell.
Is there an explanation to this? Why would the report become unstable after
all this time?
My gut instinct is that there is a problem with the linked table itself, but
I may be missing something.
Can anyone help?
Cheers,
Steve.