Command Button Error

Raven

Soozie's watchin' you!
Local time
Today, 20:57
Joined
May 1, 2002
Messages
48
I am presented with the attached error when I create a command button. The strange thing is I have other dbases running command buttons which appear to be working fine.

Any ideas?
 

Attachments

  • error.gif
    error.gif
    4 KB · Views: 139
The code reads:


Private Sub next_Click()
On Error GoTo Err_next_Click


DoCmd.GoToRecord , , acNext

Exit_next_Click:
Exit Sub

Err_next_Click:
MsgBox Err.Description
Resume Exit_next_Click

End Sub
 

Users who are viewing this thread

Back
Top Bottom