I'm not sure what you mean by 'attached to the intended recordset'
all I have is;
Private Sub Form_Close()
DoCmd.OpenQuery "Junction1Query", acViewNormal
DoCmd.OpenQuery "Junction2Query", acViewNormal
End Sub
The quarys are;
Junction1Quary:
INSERT INTO Junction1 ( RegionID, TestID, TestNumber, TestDescription )
SELECT Region.RegionID, ServerTest.TestID, ServerTest.TestNumber, ServerTest.TestDescription
FROM Region, ServerTest
WHERE Region.RegionID not in (Select RegionID from Junction1);
Junction2Quary:
INSERT INTO Junction2 ( ChartID, TestID, TestNumber, TestDescription )
SELECT ChartInfo.ChartID, CellTest.TestID, CellTest.TestNumber, CellTest.TestDescription
FROM ChartInfo, CellTest
WHERE ChartInfo.ChartID not in (Select ChartID from Junction2);
The quarys only needed to be run when a new record is added to the chartinfo table, changes made to the current records do not affect the junction tables.
thanks,
Murlen