I'm getting this runtime error:
[My database name] cannot find the object "|."
CODE
Sub test()
DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\Path\TheOtherDatabaseName.ade", acTable, _
"tablename", "tablename"
End Sub
DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\Path\TheOtherDatabaseName.ade", acTable, _
"tablename", "tablename"
End Sub
PS - sorry, looks like I may have had the name wrong. Apparently the names look a lot different in an ADE and not always what they appear to be.