Hi Ranman,
So, first I append a record to the Header table, with some known details - e.g. Invoice Date, Company Name, Company ID. This will create an Autonumber reference.
I then write a query to append to the Details table, where the Foreign Key uses a DLOOKUP formula to get its value from...