I am not completly access challenged i have programmed myself many a successful button. Please someone tell me why i would get this message:
The Expression On click you enteresd as the event property setting produced the following problem occured while Microsoft office access was communicationg with the ole server or active X control.
This is my code. for command0
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "SNF"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
___________________________________________________________
What am I doing wrong?
The Expression On click you enteresd as the event property setting produced the following problem occured while Microsoft office access was communicationg with the ole server or active X control.
This is my code. for command0
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "SNF"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
___________________________________________________________
What am I doing wrong?