What happens if you try this:
Code:
Public Sub btnPrevRec_Click()
On Error GoTo err_previous
DoCmd.GoToRecord acDataForm, Me.Parent.Name, acPrevious
Exit sub
err_previous:
MsgBox "There are no previous records.", vbOKOnly + vbInformation, "NO PREVIOUS RECORDS"
'Dim rsC As Recordset
'Set rsC = Me.Recordset.Clone
'If Not rs.BOF Then
'DoCmd.GoToRecord acDataForm, Forms.frm_parts, acPrevious
' DoCmd.GoToRecord acDataForm, Me.frm_parts, acPrevious 'Tried All the Red text versions but get the same error.
'DoCmd.GoToRecord acDataForm, Forms.frm_parts.name, acPrevious 'I even commented out everything in the sub but each one of these lines individually.
'DoCmd.GoToRecord acDataForm, me.frm_parts.name, acPrevious
'Else
'MsgBox "There are no previous records.", vbOKOnly + vbInformation, "NO PREVIOUS RECORDS"
'Exit Sub
'Set rsC = Nothing
End Sub
Cheers,