I import tables from one Access 2003 database into another 1x/day (for various reasons, linking tables does not meet the need). The database I am importing from is password protected at the general level so I am asked for a password with each table I import. Is there a way to include the password in the import code? My VBA import code is as follows:
I've been looking through these and other forums for a couple of days to find a solution and either I'm not savvy enough to recognize the solution when I see it (sadly possible) or the answer is not as easy as I first thought it would be. Any ideas?
Code:
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"c:\Pdb.mdb", acTable, "Price", "PriceNew"
Comment