Suggestions:
1. In the original form, I assume you have a button that opens the popup. In
this button's Click event procedure, make sure you save the current record
first. Otherwise the attempt to move record will fail. So:
If Me.Dirty Then Me.Dirty = False
DoCmd.OpenForm "MyDialog", WindowMode:=acDialog
2. On the popup the command button's click event presumably does this kind
of thing:
If Not IsNull(Me.txtMemberID) Then
'You have this working fine.
ElseIf Not IsNull(Me.txtName) Then
'This one is problematic.
Else
MsgBox "Find what???"
End If
What's the problematic code?
My personal preference to interface this is to add the unbound search boxes
to the form header (rather than a popup), as I think they are more
accessible there. The unique one (MemberID) just goes to that record
(FindFirst in form's RecordsetClone, and set Bookmark), but for the one that
could generate multiple results, I filter the form so the user can just step
through the records in this form and I don't have to build another one.
Here's a downloadable example of that interface:
http://allenbrowne.com/ser-62.html
The example is a continuous form, but I do the same in Form View. I think
you will find the code very flexible, efficient, easy to maintain, and easy
to combine multiple search options. If you don't want to download the
sample, you can read the code here:
http://allenbrowne.com/ser-62code.html