(in the Immediate window)
?AccessError(3101)
The Microsoft Access database engine cannot find a record in the table '|2' with key matching field(s) '|1'.
This is why we ask to quote all error messages VERBATIM. In this case it would help to know the replaceable parameters.
I am assuming you have an enforced relationship between the two tables. Good! Keep it that way.
When this error occurs, you should hit Ctrl+Break to break into the debugger, and see where the error is being generated. Show us that code. Inspect the variables in the procedure to determine if they have the expected values. It is very likely you have an unexpected foreign key value that was almost being saved to the child table.