E
Emma
Hi I'm using the following to go to the next record. However I like that it
creates a new record when it gets to the end of the list but I don't want the
user to be able to just keep clicking next and creating many blank records.
Is there any way around this?
Private Sub Command116_Click()
On Error GoTo Err_Command116_Click
DoCmd.GoToRecord , , acNext
Exit_Command116_Click:
Exit Sub
Err_Command116_Click:
MsgBox Err.Description
Resume Exit_Command116_Click
End Sub
creates a new record when it gets to the end of the list but I don't want the
user to be able to just keep clicking next and creating many blank records.
Is there any way around this?
Private Sub Command116_Click()
On Error GoTo Err_Command116_Click
DoCmd.GoToRecord , , acNext
Exit_Command116_Click:
Exit Sub
Err_Command116_Click:
MsgBox Err.Description
Resume Exit_Command116_Click
End Sub