G
Guest
I have several clients using my db that has pw protected code. From time to
time I create additions and updates to the db and would like to upgrade their
copies using "DoCmd.TransferDatabase". The complete file is very large and
hard to email.
Problem... I cannot find a way to include the password for the protected
code so that the "DoCmd.TransferDatabase" will work. A sample of code that I
use on unprotected db's is below: Thanks in advance.
********
strDB = "C:\NT\NTxx.mdb"
Forms!FrmUpdateNTI.txt1.Caption = "Updating"
str = "fMemRsvLate1"
Forms!FrmUpdateNTI.txt1.Caption = "Adding Color Formatting"
DoCmd.TransferDatabase acExport, "Microsoft Access", strDB, acForm, str,
str, False
********
time I create additions and updates to the db and would like to upgrade their
copies using "DoCmd.TransferDatabase". The complete file is very large and
hard to email.
Problem... I cannot find a way to include the password for the protected
code so that the "DoCmd.TransferDatabase" will work. A sample of code that I
use on unprotected db's is below: Thanks in advance.
********
strDB = "C:\NT\NTxx.mdb"
Forms!FrmUpdateNTI.txt1.Caption = "Updating"
str = "fMemRsvLate1"
Forms!FrmUpdateNTI.txt1.Caption = "Adding Color Formatting"
DoCmd.TransferDatabase acExport, "Microsoft Access", strDB, acForm, str,
str, False
********