srhansen47
Technical User
I'm having difficulty with two pieces of code I see used in this forum all the time. I'm using Access from Office XP. Does that make a difference?
1. dim db as Database
Access gives me an error that it doesn't recognize the user-defined "Database"
2. Set rst1 = CurrentDb.OpenRecordset("Select * from tbl1;"
Access says there's a type mismatch (I used: Dim rst1 as Recordset)
Any help appreciated.
1. dim db as Database
Access gives me an error that it doesn't recognize the user-defined "Database"
2. Set rst1 = CurrentDb.OpenRecordset("Select * from tbl1;"
Access says there's a type mismatch (I used: Dim rst1 as Recordset)
Any help appreciated.