Hi,
Thanks for the information about the DAO Library. I
found that and clicked on it so that I now have the
database object. However, my openrecordset method still
isn't working. As far as I can tell I am using the same
syntax as exists in the examples I have seen but I still
get a run-time error "type mismatch" and when I click
debug the line with the openrecordset is highlighted. I
have tried a couple of different ways of but still get an
error.
Method1: using the table name directly
Dim db as Database
Dim Actions as Recordset
Set db = CurrentDb
Set Actions = db.OpenRecordset("tblActions")
Method2: using SQL to open the table
Dim db as Database
Dim Actions as Recordset
Set db = CurrentDb
Set Actions = db.OpenRecordset("SELECT * FROM _
tblActions")
Neither of these methods is working, can anyone tell me
why I am getting a type-mismatch error and/or how I might
fix this problem
Thanks