GraemeHoste
4 years agoQrew Member
Weekly summary field
Hello,
I have one table called "Tests" which has one record for each Test and some results. One numeric result field is called "Efficiency." There is a field "Type" which is multiple-choice and can be "A", "B", "C", and each Test record also has a "Date Created," of course.
I have a separate table called "Parts." This has two fields called "Ref Type" and "Ref Date." I want to have a field in "Parts" which shows the average Efficiency for ALL Tests where Test "Type" = Part "Ref Type" and where Test "Date Created" = "Ref Date."
This seems straightforward but I am struggling with how to create this. I'm happy to have an intermediate table for the summary records, but the "Ref Type" and "Ref Date" fields in a summary record aren't available to select for matching criteria in the summary field.
Please let me know if you have any suggestions. Thank you!
Graeme
------------------------------
Graeme
------------------------------
I have one table called "Tests" which has one record for each Test and some results. One numeric result field is called "Efficiency." There is a field "Type" which is multiple-choice and can be "A", "B", "C", and each Test record also has a "Date Created," of course.
I have a separate table called "Parts." This has two fields called "Ref Type" and "Ref Date." I want to have a field in "Parts" which shows the average Efficiency for ALL Tests where Test "Type" = Part "Ref Type" and where Test "Date Created" = "Ref Date."
This seems straightforward but I am struggling with how to create this. I'm happy to have an intermediate table for the summary records, but the "Ref Type" and "Ref Date" fields in a summary record aren't available to select for matching criteria in the summary field.
Please let me know if you have any suggestions. Thank you!
Graeme
------------------------------
Graeme
------------------------------