Hi, I'm trying to open one database from another usin the following code and using the click of a button to drive it.
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim PAX As String
PAX = "N:\\\\\\\review\XBD\XeBeDee.mdb"
OpenDatabase PAX
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
End Sub
No errors jump out at me so I'm assuming the code is OK - however no matter how many times you click the button, nothin happens.
Any Ideas anyone?
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim PAX As String
PAX = "N:\\\\\\\review\XBD\XeBeDee.mdb"
OpenDatabase PAX
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
End Sub
No errors jump out at me so I'm assuming the code is OK - however no matter how many times you click the button, nothin happens.
Any Ideas anyone?