R
Roy Seifert
In Access 97 I could open and manipulate a table directly
with the following code:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("region", dbOpenDynaset)
When I try the same code in Access 2000 I get an error
message about Database being an undefined user type!
Access '97 databases converted to Access 2000 have the
Database variant type. A new Access 2000 database does
not have the Database variant type. Using Access 2000,
how do I open a table so I can manipulate the records
directly through code?
Thanks
with the following code:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("region", dbOpenDynaset)
When I try the same code in Access 2000 I get an error
message about Database being an undefined user type!
Access '97 databases converted to Access 2000 have the
Database variant type. A new Access 2000 database does
not have the Database variant type. Using Access 2000,
how do I open a table so I can manipulate the records
directly through code?
Thanks