I have added a button onto my form to simply open a table I have called Internal SSI - this is the code I have added to the button - but the code doesn't work! - Any ideas? it must be to do with the DoCmd.OpenTbl bit - but what should enter in its place?
Private Sub Command4_Click()
On Error GoTo Err_Command4_Click
Dim stdocname As String
Dim stLinkCriteria As String
stdocname = "Internal SSI"
DoCmd.OpenTbl stdocname, , , stLinkCriteria
Exit_Command4_Click:
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub
thanks
Private Sub Command4_Click()
On Error GoTo Err_Command4_Click
Dim stdocname As String
Dim stLinkCriteria As String
stdocname = "Internal SSI"
DoCmd.OpenTbl stdocname, , , stLinkCriteria
Exit_Command4_Click:
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub
thanks