I have been tasked to create a Mailing Label for our school that only pulls the youngest student from each family (based on each student's address) and sort the results by homeroom. I had already created the Youngest in the Family Mailing Label before I found out about the homeroom sort.
I created a subreport which shows only the youngest student at each address. The groupings are...
G1 - by School
G2 - by @Address
G3 - by Grade
In GF2 I placed a Shared Variable Student
Shared StringVar Student;
Student:={@Student Name}
In the Main Report I have the groupings...
G1 - by School
G2 - by Homeroom
G3 - by @Student Name (Last Name, First Name)
I placed the subreport in GH3a and the Shared Variable at GH3b. The problem is that the subreport shows all students on the main report, not just the Youngest students. When I run the subreport by itself, it only shows the youngest students.
Since the subreport is reporting all students and not just the youngest, the Shared Variable is doing the same.
Any ideas on how to keep the subreport/main report/shared variable just reporting the youngest students???
CR9
SQL Server
ODBC
Thanks,
Hillary
I created a subreport which shows only the youngest student at each address. The groupings are...
G1 - by School
G2 - by @Address
G3 - by Grade
In GF2 I placed a Shared Variable Student
Shared StringVar Student;
Student:={@Student Name}
In the Main Report I have the groupings...
G1 - by School
G2 - by Homeroom
G3 - by @Student Name (Last Name, First Name)
I placed the subreport in GH3a and the Shared Variable at GH3b. The problem is that the subreport shows all students on the main report, not just the Youngest students. When I run the subreport by itself, it only shows the youngest students.
Since the subreport is reporting all students and not just the youngest, the Shared Variable is doing the same.
Any ideas on how to keep the subreport/main report/shared variable just reporting the youngest students???
CR9
SQL Server
ODBC
Thanks,
Hillary