the_utmost
Registered User.
- Local time
- Today, 02:58
- Joined
- Mar 10, 2005
- Messages
- 40
Hi:
I need to open up a remote database on the S: drive and it needs a password. I can get the required values but I don't know how to send them in. Here is my code so far:
Dim AccessApp As Access.Application
strPath = "S:\Common\Tri.mdb"
'* Create a reference to another database file
Set AccessApp = New Access.Application
AccessApp.OpenCurrentDatabase strpath
This code works for other databases that *don't* need passwords but this one does. Any idea's?
I need to open up a remote database on the S: drive and it needs a password. I can get the required values but I don't know how to send them in. Here is my code so far:
Dim AccessApp As Access.Application
strPath = "S:\Common\Tri.mdb"
'* Create a reference to another database file
Set AccessApp = New Access.Application
AccessApp.OpenCurrentDatabase strpath
This code works for other databases that *don't* need passwords but this one does. Any idea's?
Last edited: