When I execute the following SQL string
in the Access IDE, it works fine. However, when I run it in this VBA context
I get a Type Mismatch error. The [Loaded] field is a date type, and I'm wondering if there's some sort of trick required to convert Access date types to VBA date types. Can someone enlighten me?
TIA
Bob
Code:
SELECT max([Loaded]) as MaxDate FROM Application_Actives;
Code:
Set MyRs = MyDb.OpenRecordset("SELECT max([Loaded]) as MaxDate FROM Application_Actives;")
TIA
Bob