Are you using VBA? Post the code behind the button Click event.
Here are examples of code I use.
The first two are from one db and simply kill the warning popup but don't tell the user what happens. This is a db I am really the only user for.
Private Sub btnNext_Click()
On Error Resume Next
DoCmd.GoToRecord , "", acNext
End Sub
Private Sub btnPrevious_Click()
On Error Resume Next
DoCmd.GoToRecord , "", acPrevious
End Sub
In another db with many users I have a more complicated procedure. It is in a general module and is called from buttons on several forms.
Code:
Public Sub ViewData(strDirection)
If Not IsNull(Form_SampleInfo.tbxViewDataFormNAME) Then
DoCmd.Close acForm, Form_SampleInfo.tbxViewDataFormNAME, acSaveNo
End If
With Form_SampleInfo
.RecordsetClone.Bookmark = .Bookmark
Select Case strDirection
Case "Quit"
DoCmd.Close acForm, "SampleInfo", acSaveNo
Case "Next"
.RecordsetClone.MoveNext
If Not .RecordsetClone.EOF Then
DoCmd.GoToRecord acForm, "SampleInfo", acNext
Else
.RecordsetClone.MoveLast
MsgBox "Last record."
.btnNext.Enabled = False
End If
.btnPrevious.Enabled = True
Case "Previous"
.RecordsetClone.MovePrevious
If Not .RecordsetClone.BOF Then
DoCmd.GoToRecord acForm, "SampleInfo", acPrevious
Else
.RecordsetClone.MoveFirst
MsgBox "First record."
.btnPrevious.Enabled = False
End If
.btnNext.Enabled = True
End Select
End With
End Sub