N
Noel
Hi. Im having a strange problem with a counting method in
a report. My report has three grouping levels, the first
being by SchoolID. I have set up an unbound txt box,
positioned in this group, with control source =1, Running
Sum set to overall and Visible set to No. Then another txt
box is related to this in the report footer and shows the
count of all Schools shown in the report. I thought this
was working OK until I filtered down to just one school
recently (I can do this using a reports selection process
given to me via this news group with much help from Tom
Wickerath). For this one school only (perhaps others too –
I havent checked them all individually) the count shows 2.
As I say most, if not all, others correctly show a figure
of 1. This seems completely bonkers. If I am grouping by
SchoolID and that ID is an autonumber field in the School
table, then how can the count be other than one, if only
one school is selected and shown on the report?
To make things odder, I tried messing about with the other
records which the report draws on. Each School has a
number of Mentors and each Mentor has a number of
meetings. So the three groupings are SchoolID, then
MentorID, then MeetingID, all autonumber fields. For this
particular School, I can get it to show a count of 1 if I
remove one of the Mentors from this school. I tried to
find out if it was just one Mentor causing the count to go
to 2 but at this point I gave up on this theory because,
even if I could see a pattern, there doesn’t seem any
reason why my changing the Mentor allocation should vary
the school count. Other schools have more mentors, with a
varied pattern of Meetings and they show a correct count
of 1. Weird.
Can anyone throw any light on this? Thanks, Noel
a report. My report has three grouping levels, the first
being by SchoolID. I have set up an unbound txt box,
positioned in this group, with control source =1, Running
Sum set to overall and Visible set to No. Then another txt
box is related to this in the report footer and shows the
count of all Schools shown in the report. I thought this
was working OK until I filtered down to just one school
recently (I can do this using a reports selection process
given to me via this news group with much help from Tom
Wickerath). For this one school only (perhaps others too –
I havent checked them all individually) the count shows 2.
As I say most, if not all, others correctly show a figure
of 1. This seems completely bonkers. If I am grouping by
SchoolID and that ID is an autonumber field in the School
table, then how can the count be other than one, if only
one school is selected and shown on the report?
To make things odder, I tried messing about with the other
records which the report draws on. Each School has a
number of Mentors and each Mentor has a number of
meetings. So the three groupings are SchoolID, then
MentorID, then MeetingID, all autonumber fields. For this
particular School, I can get it to show a count of 1 if I
remove one of the Mentors from this school. I tried to
find out if it was just one Mentor causing the count to go
to 2 but at this point I gave up on this theory because,
even if I could see a pattern, there doesn’t seem any
reason why my changing the Mentor allocation should vary
the school count. Other schools have more mentors, with a
varied pattern of Meetings and they show a correct count
of 1. Weird.
Can anyone throw any light on this? Thanks, Noel