using a loop I search through a dataset, if a match is not found, i then open another form that reads the original database recordset, I would like at this point to add a new record, close the opened form, make the original form visible and continue the code from where I left off in the original loop.
ie.

do until

seek
found a match do this
blah blah...
NOT found a match
open other form
view records
add new record
save
close form
continue with code
loop

The problem is that when I do this, a) the original code within the loop wants to continue, b) probably because of this I can't update the datagrid on the newly opened form......any hints?