I would think you could use one query
SELECT NBHD, GRADE, count(GRADE) AS [Number]
FROM PS INNER JOIN DWEL
ON PS.ParID = DWEL.ParID
GROUP BY NBHD, GRADE
Then use the reports sorting and grouping (View: Sorting and Grouping) to
create a group based on NBHD, and sorting by Grade
Then put NBHD in that group section of the report
And the grade and count in the detail section of the report.
If you do that there should be no need for a sub-report.
By the way if a house has two children in grade 5 (twins) do you count 1 for
the house or 2 for the house? How about if the house has children in
several grades?

Signature
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
> Hello all!
> Trying to create a report with a subreport. The subreport needs to run
[quoted text clipped - 55 lines]
> Anyway, I hope this is clear enough to get help.
> Thanks in advance!
Andrew Meador - 30 Nov 2007 19:11 GMT
Thanks John, this was exactly what I was looking for... I think I was
over thinking this one... ;)
> By the way if a house has two children in grade 5 (twins) do you count 1 for
> the house or 2 for the house? How about if the house has children in
> several grades?
Hopefully you're not making a joke here that is going over my head,
but in case you're not, let me explain. This is not related to school
grades, it is related to the grade of the house itself. It has to do
with property taxing rates and such. We're looking at merging segments
of the county (neighborhoods of houses) together into the same taxing
neighborhoods (which in part determines the property tax rate) and
want to make sure the homes are similar enough in grade so as not to
cause peoples property taxes to fluctuate greatly in one direction or
the other. If one neighborhood is primarily composed of A+ grade
houses and we merge that neighborhood with another neighborhood that
is mostly C grade houses, all the people who have C grade houses would
end up paying higher property taxes and the houses in the A+ grade
houses would get lower property taxes.
Thanks again!
> --
> John Spencer
> Access MVP 2002-2005, 2007
> Center for Health Program Development and Management
> University of Maryland Baltimore County
> .
Andrew Meador - 30 Nov 2007 19:16 GMT
Thanks John, this was exactly what I was looking for... I think I was
over thinking this one... ;)
> By the way if a house has two children in grade 5 (twins) do you count 1 for
> the house or 2 for the house? How about if the house has children in
> several grades?
Hopefully you're not making a joke here that is going over my head,
but in case you're not, let me explain. This is not related to school
grades, it is related to the grade of the house itself. It has to do
with property taxing rates and such. We're looking at merging segments
of the county (neighborhoods of houses) together into the same taxing
neighborhoods (which in part determines the property tax rate) and
want to make sure the homes are similar enough in grade so as not to
cause peoples property taxes to fluctuate greatly in one direction or
the other. If one neighborhood is primarily composed of A+ grade
houses and we merge that neighborhood with another neighborhood that
is mostly C grade houses, all the people who have C grade houses would
end up paying higher property taxes and the houses in the A+ grade
houses would get lower property taxes.
Thanks Again!
(Sorry if this is a re-post, but I couldn't see my first reply to John
Spencer)
> --
> John Spencer
> Access MVP 2002-2005, 2007
> Center for Health Program Development and Management
> University of Maryland Baltimore County
> .