I have 2 related tables and when I add(addNew) a record in the Parent table and then I try to add records to Child table (before make update in Parent) Iget an error because Parent key is autonumber and hasn't been created yet.

What should I do with that?