I have a number of child tables that have a foreign key to a parent table.
How do I add an entry in the parent table and get the primary key of that entry, so that I can then enter rows in the child tables that point to the entry in the parent table?
I'm doing this in a MS Access Database from a C# application.