Hi,
I use a counter in a subreport. The subreport is the primary data presentation for the report, and it covers more than 1 page.
I use the OnFormat event of the Detail section to conditionally initialize the counter.
I use the Onprint event of the Detail to increment the counter.
The problem is, that the counter seems to initialize itself when the report is pushed to a new page. The response is different if I have the "Keep Together" property set to "Yes" versus set to "No".
Ideally, I want this increment logic in OnFormat and OnPrint to behave the same from one page of the report to the next.
Can anybody help me?
Thanks!