Hi
I have created a new db that has just a form. On the form there will be command buttons that will open up applications the employees here use. At the moment I am trying to open another database but keep getting the error "Invalid procedure call or argument". Here is my code for the command button:
Private Sub OpenDPPF_Click()
On Error GoTo Err_OpenDPPF_Click
Dim stAppName As String
stAppName = "G:\Transport\Access\DPPF\DPPF.MDE"
Call Shell(stAppName, 1)
Exit_OpenDPPF_Click:
Exit Sub
Err_OpenDPPF_Click:
MsgBox Err.Description
Resume Exit_OpenDPPF_Click
End Sub
The calling database is located in G:\Transport\Access\Parking Service - Main Menu\main menu.mdb if that helps...
I would be greatful for any suggestions!
wah
I have created a new db that has just a form. On the form there will be command buttons that will open up applications the employees here use. At the moment I am trying to open another database but keep getting the error "Invalid procedure call or argument". Here is my code for the command button:
Private Sub OpenDPPF_Click()
On Error GoTo Err_OpenDPPF_Click
Dim stAppName As String
stAppName = "G:\Transport\Access\DPPF\DPPF.MDE"
Call Shell(stAppName, 1)
Exit_OpenDPPF_Click:
Exit Sub
Err_OpenDPPF_Click:
MsgBox Err.Description
Resume Exit_OpenDPPF_Click
End Sub
The calling database is located in G:\Transport\Access\Parking Service - Main Menu\main menu.mdb if that helps...
I would be greatful for any suggestions!
wah