I have a data entry form with 2 subforms based on a master table and 2 many to one tables. THe key field on the master table is an autonumber field called ID. I have added ID fields as long int on the related tables. How can I populated the ID fields on the related tables when added on the subform section with code?