S
Steven
I have a file OpenFile.mde that opens another file mdb that has is password
protected.
Dim db As DAO.Database
Dim strDbName As String
strDbName = "C:\Acct\Access\GLFile.mdb"
Set acc = New Access.Application
acc.Visible = True
Set db = acc.DBEngine.OpenDatabase(strDbName, False, False, ";PWD=pwd")
acc.OpenCurrentDatabase strDbName
Question: Instead of saying "C:\Acct\Access\GLFile.mdb" How do I say just
use the directory you are currenly in (ie the OpenFile.mde and GLFile.mdb are
in the same directory?
Thank you,
Steven
protected.
Dim db As DAO.Database
Dim strDbName As String
strDbName = "C:\Acct\Access\GLFile.mdb"
Set acc = New Access.Application
acc.Visible = True
Set db = acc.DBEngine.OpenDatabase(strDbName, False, False, ";PWD=pwd")
acc.OpenCurrentDatabase strDbName
Question: Instead of saying "C:\Acct\Access\GLFile.mdb" How do I say just
use the directory you are currenly in (ie the OpenFile.mde and GLFile.mdb are
in the same directory?
Thank you,
Steven