Hello everybody,
I have a MasterTable that have many "One to Many" relationships with other tables. These relationships are made by a foreing key, which is an ID that is shown in the MasterTable. The others tables have Text, Date, Number and Yes/No data type.
I am creating a form that will populate the master table. The master table records name of facilities. One of the other tables is named Inspections, meaing that each facility may have several inspections. I created the boxes that will populate the Inspection Table in the Form. Have in mind that what will be save on the mastertable is the ID of the Inspection.
I would like to create a button in the form that will add a new record in the inspection table while adding a new InspectionID in the master table. So far, codes that I've found don't work. Any ideas???


Thanks!
I have a MasterTable that have many "One to Many" relationships with other tables. These relationships are made by a foreing key, which is an ID that is shown in the MasterTable. The others tables have Text, Date, Number and Yes/No data type.
I am creating a form that will populate the master table. The master table records name of facilities. One of the other tables is named Inspections, meaing that each facility may have several inspections. I created the boxes that will populate the Inspection Table in the Form. Have in mind that what will be save on the mastertable is the ID of the Inspection.
I would like to create a button in the form that will add a new record in the inspection table while adding a new InspectionID in the master table. So far, codes that I've found don't work. Any ideas???
Thanks!