S
Susan
I have a couple of databases that were created with Access
97 and have been converted. The modules converted and
work fine. When I try to create or modify any of these
modules, however, I get errors on the database variable
declaration. I use the following form:
dim dbs as database, rcd as recordset
set dbs = currentdb()
set rcd = dbs.openrecordset("tblWhatever", dbopentable)
Why won't this code work in Access 2003? How should I
define a file without the database?
97 and have been converted. The modules converted and
work fine. When I try to create or modify any of these
modules, however, I get errors on the database variable
declaration. I use the following form:
dim dbs as database, rcd as recordset
set dbs = currentdb()
set rcd = dbs.openrecordset("tblWhatever", dbopentable)
Why won't this code work in Access 2003? How should I
define a file without the database?