L
lallen
I have a report which has a subreport in the detail section. In the report
footer, I would like to print a count of all records printed in the
subreport. To do this, I created a variable which I increment in the Print
Event of the detail section of the subreport. I then print this variable in
the report footer. This works fine in print preview, and when I print the
whole report, but if I print only the last page, I get a count of only those
records on the last page. Also, if I print multiple copies, the count
increases on each copy. How do I get the report to count all the records,
only once?
footer, I would like to print a count of all records printed in the
subreport. To do this, I created a variable which I increment in the Print
Event of the detail section of the subreport. I then print this variable in
the report footer. This works fine in print preview, and when I print the
whole report, but if I print only the last page, I get a count of only those
records on the last page. Also, if I print multiple copies, the count
increases on each copy. How do I get the report to count all the records,
only once?