I've run into an interesting problem.
When I adapt this method to my current project I get an error when doing the append queries on a totally new record on the main form. It works fine if I append to an Item that previously existed.
It says it failed to append the records due to primary key violations. If I save the main record first, then append, it works.
Any idea why this might be happening? I'm guessing I need to start with fresh tables with no data because JHB's example works perfectly.