TransfertDatabase

  • Thread starter Thread starter pystemarie
  • Start date Start date
P

pystemarie

Is it possible to addd somwhere in the syntax of the method
TRANSFERTDATABAS the password of the source databse.


With regards.
 
Is it possible to addd somwhere in the syntax of the method
TRANSFERTDATABAS the password of the source databse.

Here's an example from the Access Help:

DoCmd.TransferDatabase acLink, "ODBC", _
"ODBC;DSN=DataSource1;UID=User2;PWD=www;LANGUAGE=us_english;" _
& "DATABASE=pubs", acTable, "Authors", "dboAuthors"

You could try this with an Access DB, maybe like this:

DoCmd.TransferDatabase acLink, "Microsoft Access", _
"UID=User2;PWD=www;" _
& "DATABASE=C:\MyPath\MyDB.mdb", acTable, "Authors", "dboAuthors"

This would assume, both databases use the same workgroup information
file.
See Help item TransferDatabase-method for details.

Best regards
Emilia

Emilia Maxim
PC-SoftwareService, Stuttgart
http://www.maxim-software-service.de
 

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

Similar Threads

Add Item to Context Menu 5
import table from protected databse 1
Epson 2000P 8
Database Security 1
Transfering 3
Auto running a password script on start-up (how to) 3
Runtime Mode access 1
registry problem 6

Back
Top