G
Guest
Hello,
I am using the following code to open a database located on another computer
on the network.
Private Sub Command6_Click()
Shell """c:\program files\microsoft office\office11\msaccess.exe"" " &
"""x:\mtds\test.mdb""", vbNormalFocus
DoCmd.Quit
End Sub
Everythig works fine but I have two questions.
1. In order to get the other database to open I have to map the drive. Is
there a way around this? I have tried using the full network path but no luck.
2. Is there a way to open a specific form in the test database without
having to specify the form name in the startup options.
Thanks
I am using the following code to open a database located on another computer
on the network.
Private Sub Command6_Click()
Shell """c:\program files\microsoft office\office11\msaccess.exe"" " &
"""x:\mtds\test.mdb""", vbNormalFocus
DoCmd.Quit
End Sub
Everythig works fine but I have two questions.
1. In order to get the other database to open I have to map the drive. Is
there a way around this? I have tried using the full network path but no luck.
2. Is there a way to open a specific form in the test database without
having to specify the form name in the startup options.
Thanks