Assuming the form is sorted by this field, you could FindFirst in the
RecordsetClone of the form.
This kind of thing:
Dim rs As DAO.Recordset
Dim strWhere As String
If Me.Dirty Then 'Save before move.
Me.Dirty = False
End If
If Not Me.NewRecord Then
strWhere = "[Field1] > " & Nz(Me.[Field1],0)
Set rs = Me.RecordsetClone
rs.FindFirst strWhere
If rs.NoMatch Then 'Go to a new record.
RunCommand acCmdRecordsGotoNew
Else 'Display the matched record.
Me.Bookmark = rs.Bookmark
End If
End If
Set rs = Nothing
Note: if Field1 is a Text field, you need extra quotes:
strWhere = "[Field1] > """ & [Field1] & """"
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<do************@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
How would one create a button that on click advances the form to the
next "non recurring record" as opposed to the next record.
The field the button needs to que from has groups of duplicate values.
I need it to advance the form to the next group of duplicate values not
just the next record.