I have two tables called LabSamples and Results that have a 1 to Many relationship using a LabSampleID field. Each LabSample can have many Results what I want to achieve is for the Status field in the LabSamples table to be updated from "On Test" to "Completed" once all the Results for that LabSampleID have been entered. I have made an update query but it is checking all the records in the Results table each time, how can I get it to check only the Results for that LabSampleID only.
tblLabSample
LabSampleID - Autonumber
SampleNo - Text
Status - Text
CompleteDate - Date/Time
tblResults
ResultID - Autonumber
LabSampleID - Number
TestID - Number
Count - Number
Complete - Yes/No
CompleteDate - Date/Time
Thanks
tblLabSample
LabSampleID - Autonumber
SampleNo - Text
Status - Text
CompleteDate - Date/Time
tblResults
ResultID - Autonumber
LabSampleID - Number
TestID - Number
Count - Number
Complete - Yes/No
CompleteDate - Date/Time
Thanks