G
Guest
I run a system that uses a front end database with all the code etc, and a
number of databases, one for each client. Using code in a form on the main
DB I access tables in a clients database using a code string e.g:
DoCmd.TransferDatabase acLink, "Microsoft Access", "\\phil\phil
(C)\pbadata\" & [newclient] & ".mdb", acTable, "Main", "Main", False
A similar string is used to link 3 key tables in the client db. Each time
I change clients, the links to the outgoing client tables are removed and
then the code establishes the link to the tables in the new client db. I
would like to protect each client db with a password but if I do this I have
to key in the password each time the code establishes a link to the new
tables. Is there any way I can alter the code string so that the password
is automatically entered by the system, not my keyboard?
I use a code based password string to automate the compaction of the primary
database, but can't seem to achieve the same result with this string. Any
help would be appreciated.
number of databases, one for each client. Using code in a form on the main
DB I access tables in a clients database using a code string e.g:
DoCmd.TransferDatabase acLink, "Microsoft Access", "\\phil\phil
(C)\pbadata\" & [newclient] & ".mdb", acTable, "Main", "Main", False
A similar string is used to link 3 key tables in the client db. Each time
I change clients, the links to the outgoing client tables are removed and
then the code establishes the link to the tables in the new client db. I
would like to protect each client db with a password but if I do this I have
to key in the password each time the code establishes a link to the new
tables. Is there any way I can alter the code string so that the password
is automatically entered by the system, not my keyboard?
I use a code based password string to automate the compaction of the primary
database, but can't seem to achieve the same result with this string. Any
help would be appreciated.