S
Suzette
I just discovered that my code on a recordset will not return records. If I
do a query using the same info, it will. This is too weird.
The code...
rsbonus.Open "SELECT * FROM qryBonusPaid WHERE BonusDate > #" _
& dteFileOld & "#", conn, adOpenDynamic, adLockReadOnly,
adCmdText
dteFileOld is a date filter used to only pull the most recent records (at
this point it's 11/30/04)
It returns no records. I created a query. The SQL on the query is
SELECT qryBonusPaid.* FROM qryBonusPaid WHERE BonusDate > #11/30/04#;
This one does return records.
Prior to this code, in the same module, other recordsets are opened and
dealt with. I'm stumped. Any ideas?
Suzette
do a query using the same info, it will. This is too weird.
The code...
rsbonus.Open "SELECT * FROM qryBonusPaid WHERE BonusDate > #" _
& dteFileOld & "#", conn, adOpenDynamic, adLockReadOnly,
adCmdText
dteFileOld is a date filter used to only pull the most recent records (at
this point it's 11/30/04)
It returns no records. I created a query. The SQL on the query is
SELECT qryBonusPaid.* FROM qryBonusPaid WHERE BonusDate > #11/30/04#;
This one does return records.
Prior to this code, in the same module, other recordsets are opened and
dealt with. I'm stumped. Any ideas?
Suzette