G
Guest
I have a nested report of the form:-
Region
Location
Report
<report date>
<other report dates>
I want to count the Locations, and how many locations in each region have
submitted at least one report.
To count locations I used the technique recomended in the Access help under
"Count the number of records in each group or report". This is to put an
invisible text field in the location header with a value of "=1".
I have called this field "LocCounter". I have no database or query fields of
this name.
In the Region header I then have a control whose Control Source is:-
="(" & Sum([LocCounter]) & " Locations)"
However when I run the report, Access insists on treating "LocCounter" as a
parameter. Is asks for this parameter before the report runs, then sums THAT
number for each Region!
I think i'm using exactly the technicque as documented in the help. Why does
Access think this is a parameter name, and how do I get at the report control
value as i want?
Region
Location
Report
<report date>
<other report dates>
I want to count the Locations, and how many locations in each region have
submitted at least one report.
To count locations I used the technique recomended in the Access help under
"Count the number of records in each group or report". This is to put an
invisible text field in the location header with a value of "=1".
I have called this field "LocCounter". I have no database or query fields of
this name.
In the Region header I then have a control whose Control Source is:-
="(" & Sum([LocCounter]) & " Locations)"
However when I run the report, Access insists on treating "LocCounter" as a
parameter. Is asks for this parameter before the report runs, then sums THAT
number for each Region!
I think i'm using exactly the technicque as documented in the help. Why does
Access think this is a parameter name, and how do I get at the report control
value as i want?