DoCmd.TransferDatabase acImport, "c:\myfolder\Test.mdb", acTable, "tblTest", "tblTest"
The above code works fine, with the exception that upon execution it prompts for a password, since "c:\myfolder\Test.mdb" is password protected.
I really wouldn't like to remove the password protection if at all possibe.
I can't figure out a way to somehow insert the password into the code.
We would like the application to be scheduled to run unattended at night.
Can anyone point me in the right direction.
Thanks,
Evan
The above code works fine, with the exception that upon execution it prompts for a password, since "c:\myfolder\Test.mdb" is password protected.
I really wouldn't like to remove the password protection if at all possibe.
I can't figure out a way to somehow insert the password into the code.
We would like the application to be scheduled to run unattended at night.
Can anyone point me in the right direction.
Thanks,
Evan