I use the following code to import a table from a password protected database. Is there any way I can pre specify the password in the code so that it does not prompt user for the password?
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"H:\PNP\Strategic Plan.mdb", , "tblMaster", "tblMaster"
Did not have much luck with the help.
Cheers
AK
Note: Using Access 97 - still.
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"H:\PNP\Strategic Plan.mdb", , "tblMaster", "tblMaster"
Did not have much luck with the help.
Cheers
AK
Note: Using Access 97 - still.