I'm embarassed to have to ask this. I've done extensive work in Access 97 because it's what my employer uses. I've resisted converting anything that I created to Access 2000 because I know I can't go back. But now I've reached the point where I want to make some stuff in 2000 because it's what I have, but I'm having trouble getting over the 2000 hump.
Specifically, when I need to open a recordset in a module in 97, I don't even have to think about typing these 4 lines:
Dim dbs as Database
Dim rst as Recordset
Set dbs = CurrentDB
set rst = dbs.OpenRecordset("tblMyTableName")
It's automatic.
Now that I'm ready to do some 2000 work, I can't seem to get the syntax for those 4 little statements right in my head. I want to use the Access 2000 standard ADO as though everything is being created from scratch. What should I write to replace those 4 statements?
I'll appreciate the help.
Specifically, when I need to open a recordset in a module in 97, I don't even have to think about typing these 4 lines:
Dim dbs as Database
Dim rst as Recordset
Set dbs = CurrentDB
set rst = dbs.OpenRecordset("tblMyTableName")
It's automatic.
Now that I'm ready to do some 2000 work, I can't seem to get the syntax for those 4 little statements right in my head. I want to use the Access 2000 standard ADO as though everything is being created from scratch. What should I write to replace those 4 statements?
I'll appreciate the help.