R
robertf670
I have an Access database application with a form that has a series of
commands to create a database and copy the existing tables into the new
database. One line of a sub looks like this: Set dbNew =
wrkDefault.CreateDatabase((strNewDbName), dbLangGeneral, dbEncrypt).
Using Access 2003 everything works fine. When attempting this in Access 2007
however, I get an 'Invalid Argument' error. I tried removing the dbEncrypt
argument and it worked, as did the next step of using the TransferDatabase
method to copy the tables into the new database. Is there a way to use the
dbEncrypt option with Access 2007? I'm not sure what is different about it in
the two versions of the program. Thanks in advance for any assistance.
Bob
commands to create a database and copy the existing tables into the new
database. One line of a sub looks like this: Set dbNew =
wrkDefault.CreateDatabase((strNewDbName), dbLangGeneral, dbEncrypt).
Using Access 2003 everything works fine. When attempting this in Access 2007
however, I get an 'Invalid Argument' error. I tried removing the dbEncrypt
argument and it worked, as did the next step of using the TransferDatabase
method to copy the tables into the new database. Is there a way to use the
dbEncrypt option with Access 2007? I'm not sure what is different about it in
the two versions of the program. Thanks in advance for any assistance.
Bob