D
darren
I have tables where each parameter is assigned a score (see Table1 and table2
below). I want a query that will return the sum of "Don't know" for each site
and unit. The problem is where "don't know" does not occur such as in table2.
When I run the query joining the two tables with param (criteria set to
"Don't Know" and sum T_score and S_Score, the query returns no records.
Table1
ID Site unit category Param M_Score
1 1 1 material metal 1
2 1 2 material Don't Know 1
Table2
ID Site unit category Param T_Score
1 1 1 tex fine 1
2 1 2 tex coarse 1
Currently, the query returns field headings only as follows:
Site unit M_Score T_Score
What I would like returned is:
Site unit M_Score T_Score
1 1 0 0
1 2 1 0
I appreciate your ideas
Regards
Darren
below). I want a query that will return the sum of "Don't know" for each site
and unit. The problem is where "don't know" does not occur such as in table2.
When I run the query joining the two tables with param (criteria set to
"Don't Know" and sum T_score and S_Score, the query returns no records.
Table1
ID Site unit category Param M_Score
1 1 1 material metal 1
2 1 2 material Don't Know 1
Table2
ID Site unit category Param T_Score
1 1 1 tex fine 1
2 1 2 tex coarse 1
Currently, the query returns field headings only as follows:
Site unit M_Score T_Score
What I would like returned is:
Site unit M_Score T_Score
1 1 0 0
1 2 1 0
I appreciate your ideas
Regards
Darren