Hi RuralGuy,
You have it correct. That is what the long code in the first post does. If the name entered is not on the list, the NotOnList code will be triggered, followed by the AfterUpdate code. It works except I can' save data entered in the subform, which makes me think the DLookup way of finding records in the afterupdate event does not work. However, I have also tried this recordset.clone and the bookmark method, it does the same thing but no new records in the subform are saved.
You have it correct. That is what the long code in the first post does. If the name entered is not on the list, the NotOnList code will be triggered, followed by the AfterUpdate code. It works except I can' save data entered in the subform, which makes me think the DLookup way of finding records in the afterupdate event does not work. However, I have also tried this recordset.clone and the bookmark method, it does the same thing but no new records in the subform are saved.