G
Guest
Hello,
The following code works to find a last name in a combo box, then jumps to
the last name and other information within the form. When there is a
duplicate last name in the combo box, it will only jump to one entry/name.
Other information is unique, only the last name is the same. I need it to
jump to each identified entry/name, no matter.
Can someone help me out?
Private Sub MomLastFind_AfterUpdate()
Me.Requery
MomLastFind.Requery
'Move to the record selected in the control
Me.RecordsetClone.FindFirst "[MOMLAST] = '" & Me![MomLastFind] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
MOMLAST.SetFocus
End Sub
The following code works to find a last name in a combo box, then jumps to
the last name and other information within the form. When there is a
duplicate last name in the combo box, it will only jump to one entry/name.
Other information is unique, only the last name is the same. I need it to
jump to each identified entry/name, no matter.
Can someone help me out?
Private Sub MomLastFind_AfterUpdate()
Me.Requery
MomLastFind.Requery
'Move to the record selected in the control
Me.RecordsetClone.FindFirst "[MOMLAST] = '" & Me![MomLastFind] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
MOMLAST.SetFocus
End Sub