A
Alfred B
Hi! I'm trying to open recordset with macro using DAO. The syntax is:
1 dim myDB as Database
2 dim myTable as Recordset
3 set myDB as CurrentDb
4 set myTable = myDB.OpenRecordset("tblMyTable")
and I get Type mismatch in row 4???
Regards, Alfred
1 dim myDB as Database
2 dim myTable as Recordset
3 set myDB as CurrentDb
4 set myTable = myDB.OpenRecordset("tblMyTable")
and I get Type mismatch in row 4???
Regards, Alfred