I haven't had a chance to use any DAO for several months. This seems quite simple, but I'm stuck.
Here's what I have and I can't get past this.
Code:
Dim rst1 As Recordset, rst2 As Recordset
Set rst1 = CurrentDb.OpenRecordset("SELECT * FROM tblStatementArchive WHERE Vendor_ID Is Null")
Set rst2 = CurrentDb.OpenRecordset("qryStatement1_Archive")
On rst1 I get this error 13 - Type Mismatch
On rst2 I get this error 3061 - Too few parameters Expecting 2
There are no parameters in this query. There's not even a WHERE clause.
Both queries run normally. I'm stuck. Hope you can help.