Please Help,
When calling an external database...
Private Sub cmdFeeback_Enter()
On Error GoTo Err_cmdFeeback_Enter
Dim stAppName As String
stAppName = "c:\msaccess\msaccess C:\Feedback\Feedback.mde"
Call Shell(stAppName, 1)
Exit_cmdFeeback_Enter:
Exit Sub
Err_cmdFeeback_Enter:
MsgBox Err.Description
Resume Exit_cmdFeeback_Enter
End Sub
If the above file "C:\Feedback\Feedback.mde" does not exist then I would like to roll the error over so code operation is continued without trying to open the database. If the database is there it will open as normal.
Thanking You
Kelvin
When calling an external database...
Private Sub cmdFeeback_Enter()
On Error GoTo Err_cmdFeeback_Enter
Dim stAppName As String
stAppName = "c:\msaccess\msaccess C:\Feedback\Feedback.mde"
Call Shell(stAppName, 1)
Exit_cmdFeeback_Enter:
Exit Sub
Err_cmdFeeback_Enter:
MsgBox Err.Description
Resume Exit_cmdFeeback_Enter
End Sub
If the above file "C:\Feedback\Feedback.mde" does not exist then I would like to roll the error over so code operation is continued without trying to open the database. If the database is there it will open as normal.
Thanking You
Kelvin