This function opens the child form
DoCmd.OpenForm "EmployeeSkills", acNormal, , "[EmpID] = " & Me.EmpID, , , "ID"
But when the child form closes the record that triggered the above code
doesn't have focus. Instead the form repaints and the pointer repositions to
the top of the parent form.
> > Intially I pass the employee ID to a popup form to edit the employees
> > family
[quoted text clipped - 16 lines]
> Keith.
> www.keithwilby.com
Klatuu - 31 Jan 2007 17:29 GMT
First you said popup form then you said child form. What is a child form?
Is there, perhaps, a Requery in the EmployeeSkills form that might be
executing during this process?
When does the EmployeeSkills form return to the first record in the
recordset? When you open the popup or when you close it?

Signature
Dave Hargis, Microsoft Access MVP
> This function opens the child form
> DoCmd.OpenForm "EmployeeSkills", acNormal, , "[EmpID] = " & Me.EmpID, , , "ID"
[quoted text clipped - 22 lines]
> > Keith.
> > www.keithwilby.com