I have a field that I need a calculation in. All records are based on the students 790#
All fields are from the CourseTaken table. the Units and TotalCreditEarned (are numeric set) but each 790# can have multiple courses, and I need to total the units per 790# and "completed" status (another field).
how do I get the results to show in the TotalCreditsEarned field on the form? or am i going about getting the calculation wrong .
I have built a query that seems to work: but don't know how to make it attach to the field to show the sum.
SELECT Sum(CourseTaken.Units) AS SumOfTotalCreditsEarned, CourseTaken.[790ID], CourseTaken.CourseStatus
FROM CourseTaken
GROUP BY CourseTaken.[790ID], CourseTaken.CourseStatus
HAVING (((CourseTaken.CourseStatus)="Completed"));
I also need to divide the total units by courses passed ( A=4, B=3, C=2, D=1) for a GPA.
All fields are from the CourseTaken table. the Units and TotalCreditEarned (are numeric set) but each 790# can have multiple courses, and I need to total the units per 790# and "completed" status (another field).
how do I get the results to show in the TotalCreditsEarned field on the form? or am i going about getting the calculation wrong .
I have built a query that seems to work: but don't know how to make it attach to the field to show the sum.
SELECT Sum(CourseTaken.Units) AS SumOfTotalCreditsEarned, CourseTaken.[790ID], CourseTaken.CourseStatus
FROM CourseTaken
GROUP BY CourseTaken.[790ID], CourseTaken.CourseStatus
HAVING (((CourseTaken.CourseStatus)="Completed"));
I also need to divide the total units by courses passed ( A=4, B=3, C=2, D=1) for a GPA.
Last edited: