Thanks, both cmmrfrds and TerpFan2001. I've made progress. As suggested, I added the DAO reference and also declared DAO Types.
Now I have a different problem. When I run the code below, I get Run-time error 3001 - Invalid Argument for the "Set rst = db.OpenRecordset("tbl1"...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.