I have two tables that store information input into a mainform/subform. The two tables have a similar relationship to an orders/order details type system. The mainform records data in to the test table and the subfrom records it into the testdetails table. The testdetails table stores the testID (the PK for the main testtable), any test metric ID's used, and a PK for the testdetails table.
Now the testing being done involves many metrics, sometimes these metrics are run more than one at a time, in common testgroups. Therefore on the mainform I have an unbound combobox linked to the different common test groups. This combobox, through an afterupdate event, sets the recordsource of a combobox in the subform, to limit the selection to those in the chosen test group, the subform is in datasheet view. As it is now, the user has to has to select each metric in the test group and create a new record for it in the subform. Im looking for a way to automatically do that, some groups have up to 8-10 metrics. The attached picture shows the setup of the mainform and subform.
Now the testing being done involves many metrics, sometimes these metrics are run more than one at a time, in common testgroups. Therefore on the mainform I have an unbound combobox linked to the different common test groups. This combobox, through an afterupdate event, sets the recordsource of a combobox in the subform, to limit the selection to those in the chosen test group, the subform is in datasheet view. As it is now, the user has to has to select each metric in the test group and create a new record for it in the subform. Im looking for a way to automatically do that, some groups have up to 8-10 metrics. The attached picture shows the setup of the mainform and subform.