J
JamesW
When I try to open an Access 2000 database using the
following VB 6 script I get the error 7866 Microsoft
Access can't open the database because it is missing, or
exclusively locked by another user. I have checked and
the database is where the link says and was not being used
by another user.
Private Sub Command11_Click()
Dim X As Object
Set X = CreateObject("access.application")
X.Visible = True
X.OpenCurrentDatabase
"\\admin\compsect\data\databases\inventory\inventory.mbd"
Set X = Nothing
End Sub
Any help would be appreciated.
following VB 6 script I get the error 7866 Microsoft
Access can't open the database because it is missing, or
exclusively locked by another user. I have checked and
the database is where the link says and was not being used
by another user.
Private Sub Command11_Click()
Dim X As Object
Set X = CreateObject("access.application")
X.Visible = True
X.OpenCurrentDatabase
"\\admin\compsect\data\databases\inventory\inventory.mbd"
Set X = Nothing
End Sub
Any help would be appreciated.