Question : Subform not showing related records

Please see attached db.
Using form frmQualityControl, the subform sbfDatasheetA is not showing the related records. The parent/child relationship is set up.

When I add a new record in the subform, it will not show up the next time the form is opened. I know it is there because it shows up in tblDatasheetA.

Also, when I enter data in the "L", "a", or "b" columns, the subform goes blank. I have the Me.Parent.Requery code in the subform to refresh the charts.

Weird?
Attachments:
 
sample db
 

Answer : Subform not showing related records

The Lot Number "B10-7080",  was hardcoded in qryCalculatePassFail

Remove this and it should work fine...

;-)

Jeff
Random Solutions  
 
programming4us programming4us