R
Roger Bell
I have a command button to run another data base from within the current data
base as follows: "On Click Event Procedure" I get A 'File not found' error
Private Sub PRESBYTERY_ACCOUNT_Click()
On Error GoTo Err_PRESBYTERY_ACCOUNT_Click
Dim stAppName As String
stAppName = "C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE\
D:\My.Mdb"
Call Shell(stAppName, 1)
Exit_PRESBYTERY_ACCOUNT_Click:
Exit Sub
Err_PRESBYTERY_ACCOUNT_Click:
MsgBox Err.Description
Resume Exit_PRESBYTERY_ACCOUNT_Click
End Sub
Thanks for any help
base as follows: "On Click Event Procedure" I get A 'File not found' error
Private Sub PRESBYTERY_ACCOUNT_Click()
On Error GoTo Err_PRESBYTERY_ACCOUNT_Click
Dim stAppName As String
stAppName = "C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE\
D:\My.Mdb"
Call Shell(stAppName, 1)
Exit_PRESBYTERY_ACCOUNT_Click:
Exit Sub
Err_PRESBYTERY_ACCOUNT_Click:
MsgBox Err.Description
Resume Exit_PRESBYTERY_ACCOUNT_Click
End Sub
Thanks for any help