flying linus
Registered User.
- Local time
- Today, 02:15
- Joined
- Oct 1, 2004
- Messages
- 33
I currently have a select query that counts the number fo child records for the parent record as follows:
SELECT tblAV_Fail_Cases.Failure_ID, Count(tblFMET_Test_Cases.Failure_ID) AS NumofTestCases
FROM tblFMET_Test_Cases RIGHT JOIN tblAV_Fail_Cases ON tblFMET_Test_Cases.Failure_ID = tblAV_Fail_Cases.Failure_ID
GROUP BY tblAV_Fail_Cases.Failure_ID
ORDER BY tblAV_Fail_Cases.Failure_ID DESC;
I want to display the count for each Failure_ID on a form whose source is the table tblAV_Fail_Cases. Would an update query be the right way to do this and add the data directly to the parent table, or somehow link the select query to the form. Either way, I can't get it to work. Any help would be appreciated.
SELECT tblAV_Fail_Cases.Failure_ID, Count(tblFMET_Test_Cases.Failure_ID) AS NumofTestCases
FROM tblFMET_Test_Cases RIGHT JOIN tblAV_Fail_Cases ON tblFMET_Test_Cases.Failure_ID = tblAV_Fail_Cases.Failure_ID
GROUP BY tblAV_Fail_Cases.Failure_ID
ORDER BY tblAV_Fail_Cases.Failure_ID DESC;
I want to display the count for each Failure_ID on a form whose source is the table tblAV_Fail_Cases. Would an update query be the right way to do this and add the data directly to the parent table, or somehow link the select query to the form. Either way, I can't get it to work. Any help would be appreciated.