I have a table "Tbl_Invoice" with invoice details [Primary key "InvID"] and another table "Tbl_Invoice_Details" with the invoiced item details (items, quantity purchased, rate, amount, total) [primary key "InvDetID" and foreign key "InvID" linked to invoice table]. In the main form "Frm_Invoice" with data source "Tbl_Invoice", I have included a subform with item details from the "Tbl_Invoice_Details". I have two problems -
I am a newbie and do not have much knowledge of VBA. Please help!
As for your second question, use the RecordsetClone of the main form and the subform respectively to copy the main record and the subrecords: