I haven't checked this, but I think that subform_name.undo should work.
As you had to be at an empty new record to undo the changes, you should be lkeft with the emopty record again.
hope this helps,
Graham
Dim rcs_a As Recordset
Set rcs_a = Me!Child0.Form.RecordsetClone
rcs_a.MoveLast
rcs_a.Delete
Me!Child0.Form.Requery
Me!Child0.Form!Text0.SetFocus
'' then in the gotfocus you can go to a new record...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.