I have a button which is supposed to load a form on the click event, however, nothing happens. Here's the code...
Private Sub home_Click()
On Error GoTo Err_home_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "sample switchboard"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_home_Click:
Exit Sub
Err_home_Click:
MsgBox Err.Description
Resume Exit_home_Click
End Sub
Cna anyone help?