I am using the below code to import a table when the code run I get a pop up box asking me for the password for the database I am importing from.
Is it possible to put the password into my code so I do not receive the password prompt?
I have been trying to figure this out for about 2 hours so any help would be very much appreciated, Matt Fitzgerald.
Is it possible to put the password into my code so I do not receive the password prompt?
Code:
DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\Documents and Settings\fitzgem4\Desktop\2008_2009 V5.mdb", acTable, "Tbl_VOL_References", "Tbl_VOL_References_StratfordData", False
Comment