T
Tom Brown
I have a command button on a form that opens another form. Every time I use
it, I get an error. Here's the code
Private Sub CommandDataEntry_Click()
On Error GoTo Err_CommandDataEntry_Click
DoCmd.OpenForm "AlteonSim", acNormal
Err_CommandDataEntry_Click:
MsgBox Err.Description
Resume Exit_CommandDataEntry_Click
Exit_CommandDataEntry_Click:
End Sub
When I fire it, I get an error Box that has nothing in it except an OK
button. When I click the OK button, it says "Resume without error" and
another OK button.
Any help is always appreciated.
TIA,
Tom
it, I get an error. Here's the code
Private Sub CommandDataEntry_Click()
On Error GoTo Err_CommandDataEntry_Click
DoCmd.OpenForm "AlteonSim", acNormal
Err_CommandDataEntry_Click:
MsgBox Err.Description
Resume Exit_CommandDataEntry_Click
Exit_CommandDataEntry_Click:
End Sub
When I fire it, I get an error Box that has nothing in it except an OK
button. When I click the OK button, it says "Resume without error" and
another OK button.
Any help is always appreciated.
TIA,
Tom