Perhaps you could apply a filter to the form. See db attached.
If this helped, please click the star at the bottom left of this posting and add to my reputation. Many thanks.
Bob Fitzpatrick
not tested but perhaps include in your change event code something like
if me.subformname.form.recordcount=1 then me.subformname.setfocus