G
Gelpaks
I added code to the switchboard so I could open queries, and that works
great. Got the info from
http://www.accessmvp.com/JConrad/accessjunkie/switchboardfaq.html#query
My problem is that if I cancel the input query, I get the msg: "There was
an error executing the command." In the switchboard code:
HandleButtonClick_Err:
' If the action was cancelled by the user for
' some reason, don't display an error message.
' Instead, resume on the next line.
If (Err = conErrDoCmdCancelled) Then
Resume Next
Else
MsgBox "There was an error executing the command.", vbCritical
Resume HandleButtonClick_Exit
End If
How can I fix this so I don't get that err msg?
great. Got the info from
http://www.accessmvp.com/JConrad/accessjunkie/switchboardfaq.html#query
My problem is that if I cancel the input query, I get the msg: "There was
an error executing the command." In the switchboard code:
HandleButtonClick_Err:
' If the action was cancelled by the user for
' some reason, don't display an error message.
' Instead, resume on the next line.
If (Err = conErrDoCmdCancelled) Then
Resume Next
Else
MsgBox "There was an error executing the command.", vbCritical
Resume HandleButtonClick_Exit
End If
How can I fix this so I don't get that err msg?