Thanks Scott for your reply,
I first tried using the subform wizard, but was advised in previous replys to create the subform first, then drag it into the main form, so I did. Everything is working, but PartID is not being populated in the table associated with the subform. Yes, PartID is in the query of the main form.
I tried making a table relationship between the PartTracker table and the TubeFails table in the subform query, but did not work for me. The SQL for the query is:
SELECT tblPartTracker.PartID, tblFailureAnalysis.PartID, tblPartTracker.RMA, tblPartTracker.ReceiptDate, tblPartTracker.Responsible, tblPartTracker.PartNum, tblPart.PartName, tblPartTracker.PartSN, tblPartTracker.Customer, tblPartTracker.MachineSN, tblPartTracker.Model, tblPartTracker.[CASE_SO#], tblPartTracker.FB, tblPartTracker.NCP, tblPartTracker.Hours, tblPartTracker.Location, tblPartTracker.DispositionComplete, tblFailureAnalysis.FADate, tblFailureAnalysis.FailDate, tblFailureAnalysis.ReturnDate, tblFailureAnalysis.FACompleteDate, tblFailureAnalysis.ReviewedCompleteDate, tblFailureAnalysis.QAClosedDate, tblFailureAnalysis.Status, tblFailureAnalysis.[SO#], tblFailureAnalysis.InsulatorSN, tblFailureAnalysis.FieldServiceDetermination, tblFailureAnalysis.AnalysisBy, tblFailureAnalysis.AnalysisReviewedBy, tblFailureAnalysis.QAResponsible, tblFailureAnalysis.QAClosedBy, tblFailureAnalysis.LossVacuum, tblFailureAnalysis.LeakingMiniFlange, tblFailureAnalysis.InsulatorArc, tblFailureAnalysis.OpenFilament, tblFailureAnalysis.InternalArc, tblFailureAnalysis.LeakingFlange, tblFailureAnalysis.Corrosion, tblFailureAnalysis.Implosion, tblFailureAnalysis.OverHeated, tblFailureAnalysis.PinHoleInsulator, tblFailureAnalysis.PinHoleAnode, tblFailureAnalysis.ArcIonPump, tblFailureAnalysis.OtherSymtom, tblFailureAnalysis.FANotes, tblFailureAnalysis.Insulator, tblFailureAnalysis.Anode, tblFailureAnalysis.Filament, tblFailureAnalysis.IonPump, tblFailureAnalysis.BulletTip, tblFailureAnalysis.TearDrop, tblFailureAnalysis.WaterJacket, tblFailureAnalysis.BulletBase, tblFailureAnalysis.OtherComp, tblFailureAnalysis.FieldServiceTech, tblFailureAnalysis.ServiceDate, tblFailureAnalysis.RootCause, tblPartTracker.Disposition, tblFailureAnalysis.QAFinalNotes, tblFailureAnalysis.ReviewersNotes, tblFailureAnalysis.DateRcvdVegas, tblFailureAnalysis.PinchOffCompromised, tblPartTracker.TrackerNotes, tblPartTracker.DefectFrom, tblPartTracker.TrackerAttachment, tblFailureAnalysis.TubeFAAttachment, tblFailureAnalysis.DateInService, tblFailureAnalysis.DateOutService, tblFailureAnalysis.[Tube Hours]
FROM (tblFailureAnalysis INNER JOIN tblPartTracker ON tblFailureAnalysis.PartID = tblPartTracker.PartID) INNER JOIN tblPart ON tblPartTracker.PartNum = tblPart.PartNum
WHERE (((tblFailureAnalysis.PartID)=[tblFailureAnalysis]![PartID]));
Like I said, I can create the necessary child records in my subform
but PartID is not being populated and I get this errror.
It creates the child record, but does not populate the PartID, which is in the main form.
This is what is populated in the subform after saying ok to the error message.
I can manually add the PartID, and that seems to work as now the main form and subform have made the relationship. As far as the control source, I just need to know how to populate the PartID in the subform and not get the error message.
Thanks
John