M
Mike
In my Access 2000 database (mdb-database) I have the
following query:
SELECT Transactions.TransactionDate,
Transactions.TransactionAmount
FROM Transactions
WHERE (((Transactions.TransactionDate) Between [Forms]!
[frmFilter]![FirstDate] And ([Forms]![frmFilter]!
[LastDate]-1)));
So, if frmFilter.FirstDate = "01.04.2004" and
frmFilter.LastDate = "19.04.2004" the query should
retrieve transactions for the period from 01.04.04 till
18.04.04.
The "Transactions" table is a linked table.
When it is linked to an Access back-end database
everything works fine, but if it is linked to an ODBC
source (SQL server) it retrieves records for the period
from 01.04.04 till 20.04.04 (one day more instead of one
day less).
Why?????? Any ideas?
following query:
SELECT Transactions.TransactionDate,
Transactions.TransactionAmount
FROM Transactions
WHERE (((Transactions.TransactionDate) Between [Forms]!
[frmFilter]![FirstDate] And ([Forms]![frmFilter]!
[LastDate]-1)));
So, if frmFilter.FirstDate = "01.04.2004" and
frmFilter.LastDate = "19.04.2004" the query should
retrieve transactions for the period from 01.04.04 till
18.04.04.
The "Transactions" table is a linked table.
When it is linked to an Access back-end database
everything works fine, but if it is linked to an ODBC
source (SQL server) it retrieves records for the period
from 01.04.04 till 20.04.04 (one day more instead of one
day less).
Why?????? Any ideas?