ACC: "Couldn't Find File" Error Using TransferDatabase Action
Article ID: 156075
Article Last Modified on 11/17/2000
APPLIES TO
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
This article was previously published under Q156075
SYMPTOMS
When you use the TransferDatabase macro action to import a table from
another database or export a table to another database, you may receive the
following error message:
Couldn't find file 'filename'
The error only occurs when the import and export commands are used with
table objects.
CAUSE
The error occurs in Microsoft Access version 7.0 if both of the following
conditions are true:
- The file name specified in the DatabaseName property does not contain
the .mdb extension.
- The StructureOnly property is set to No.
NOTE: In Microsoft Access 2.0, the first condition alone causes the error
message.
RESOLUTION
Add the .mdb extension to the file name for the DatabaseName property.
REFERENCES
For more information about TransferDatabase, search for "TransferDatabase
action," and then "TransferDatabase action" using the Microsoft Access
7.0 Help Index.
Additional query words: couldn t find file
Keywords: kberrmsg kbprb kbusage KB156075