I have code from an old Access 97 database that does not
work in Access 2000. I keep getting a Run-time err04 '2043' and the database can't find the newly created file. The DoCmd.Transferdatabase method does not seem to work.
I am using the statements:
Set newDb = DBEngine.Workspaces(0).CreateDatabase(strvarPartsListFileName, dbLangGeneral)
and
DoCmd.TransferDatabase acExport, "Microsoft Access", strvarPartsListFileName, acTable, "Table1Export", "Table1"
Any help will be appreciated.
work in Access 2000. I keep getting a Run-time err04 '2043' and the database can't find the newly created file. The DoCmd.Transferdatabase method does not seem to work.
I am using the statements:
Set newDb = DBEngine.Workspaces(0).CreateDatabase(strvarPartsListFileName, dbLangGeneral)
and
DoCmd.TransferDatabase acExport, "Microsoft Access", strvarPartsListFileName, acTable, "Table1Export", "Table1"
Any help will be appreciated.