I have two tables, tblProducts and tblStockCheck that are related by the field code which is the primary key of tblProducts. The relationship is one to many as the same record form tblProducts may appear many times in tblStockCheck.
frmStockCheck enables users to enter information into tblStockCheck. frmProducts displays records from tblProducts and appears on frmStockCheck as a subform, allowing users to verify that the item they have identified is correct and already exists in tblProducts.
qryViewLastSC is a select query that displays all of the last month's stock check data from tblStockCheck accompanied by the related information from tblProducts based upon the field code.
This was all working fine until last week when the related data stopped being displayed, either in frmStockCheck or qryViewLastSC. I've been reading everywhere but I can't get it to display again. Does anyone have any ideas?
Thank you for your time,
qryViewLastSC returning data from tblStockCheck but not tblProducts
qryViewLastSC in design view
frmStockCheck failing to return related data from frmProducts
![]()