G
Guest
Using Access 2003. Trying to make a grading report that groups on fldyear,
fldquarter, fldSubject, fldLN/FN (trimmed field) and fldGradeWeight then I
want to set up my report with column one listing each individual assignment
with the second column showing the grade for each assignment. fldGradeWeight
will have a group footer which shows the average for all grades falling in
this weight category (this comes from qryAvgGrades). In the page footer, I
want the final grade which comes from qrySumOfAvgGrades.
I am messing up with the query that I am trying to make to base this report
on. All is well when I make a query from qryAvgGrades, qrySumOfAvgGrades, and
tblInfo (this table contains the student ID, names, addresses, etc.) But when
I try to add tblMainTable which is where all the individual assignments and
grades are, the query returns more than one row for a single record, e.g.,
Quiz 2 more than one time when there was only one Quiz 2 in the tblMainTable.
Same with all the assignments.
I searched this newsgroup and think I have a relationship problem but
couldn't make anything work. My query is based on these tables/queries:
tblInfo (names and addresses of students), tblMain (where the assignments,
weights, grades, etc. are recorded), qryAvgGrade (averages grades by weight),
qrySumOfAvgGrades (sums the averaged weight categories for the final grade).
All relationships are on the ID field.
Thanks in advance for your help.
fldquarter, fldSubject, fldLN/FN (trimmed field) and fldGradeWeight then I
want to set up my report with column one listing each individual assignment
with the second column showing the grade for each assignment. fldGradeWeight
will have a group footer which shows the average for all grades falling in
this weight category (this comes from qryAvgGrades). In the page footer, I
want the final grade which comes from qrySumOfAvgGrades.
I am messing up with the query that I am trying to make to base this report
on. All is well when I make a query from qryAvgGrades, qrySumOfAvgGrades, and
tblInfo (this table contains the student ID, names, addresses, etc.) But when
I try to add tblMainTable which is where all the individual assignments and
grades are, the query returns more than one row for a single record, e.g.,
Quiz 2 more than one time when there was only one Quiz 2 in the tblMainTable.
Same with all the assignments.
I searched this newsgroup and think I have a relationship problem but
couldn't make anything work. My query is based on these tables/queries:
tblInfo (names and addresses of students), tblMain (where the assignments,
weights, grades, etc. are recorded), qryAvgGrade (averages grades by weight),
qrySumOfAvgGrades (sums the averaged weight categories for the final grade).
All relationships are on the ID field.
Thanks in advance for your help.