Exprting to Database with Password Protection

D

Dkline

I am starting in my "source' database and exporting a number of tables to
the "target" database. The "target" database is passwor protected.

When anyone run this they have to enter the passord 19 times - one for each
export.

I am using:
DoCmd.TransferDatabase acExport, "Microsoft Access", PathToSource, acTable,
NameOfQuery, NameOfTable, False, strPWD

Do I need to reverse this? Open the "target" database and import from the
"source" database?

We're trying to do this in an AutoExec macro which - up until the time the
SVP applied the password to the "target " database - worked perfectly.
 
Joined
Mar 15, 2007
Messages
1
Reaction score
0
Any good?

I'm trying to do exactly the same thing, did you find a way?

I've even tried to remove the password from code, but I can only change the password not remove it.

Cheers

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top