J
JimP
There must be a function or property to return path/mdb name.
JimP said:There must be a function or property to return path/mdb name.
Here ya go:
Function CurrentDBDir() As String
Dim strDB As String, strCurrentDir As String
strDB = CurrentDb.Name
strCurrentDir = Left(strDB, Len(strDB) - Len(Dir(strDB)))
CurrentDBDir = strCurrentDir
End Function
HTH,