J
James Minns
Hi all,
I probably haven't understood how the aggregate functions are supposed to
work, but I have the following problem:
I have a report on student marks, based on a query, grouped by the students
Class name.
In the header I have:
Class Name
In the details part of the report I have:
Name, Marks, Comments
and in the footer for the class I have:
Worst mark: =Min(Marks)
Best mark: =Max(Marks)
Average mark: =Avg(Marks)
So in the footer for each class I see the lowest, average and highest mark.
All this works.
Now, I want to print the students name next to the Worst mark and Best mark
in the group footer. The Min/Max function finds the correct record but how
can I grab the student's name who got those marks, like this?
Worst mark: 2 James
Best mark: 15 Helen
Thanks for any help!
James
I probably haven't understood how the aggregate functions are supposed to
work, but I have the following problem:
I have a report on student marks, based on a query, grouped by the students
Class name.
In the header I have:
Class Name
In the details part of the report I have:
Name, Marks, Comments
and in the footer for the class I have:
Worst mark: =Min(Marks)
Best mark: =Max(Marks)
Average mark: =Avg(Marks)
So in the footer for each class I see the lowest, average and highest mark.
All this works.
Now, I want to print the students name next to the Worst mark and Best mark
in the group footer. The Min/Max function finds the correct record but how
can I grab the student's name who got those marks, like this?
Worst mark: 2 James
Best mark: 15 Helen
Thanks for any help!
James