The main report shows all medical conferences for a resident by year,
by month. A resident can attend many of the same conferences in a
year. In the year footer, I have a subreport that summarizes all
conferences and the number of times attended. This data is stored in
an array that is updated during the printing of the report detail.
I cannot do a simple grouping/counting of conferences. For some
conferences, the resident has to be on-call at the conference location
to get credit for attending the conference. An array was the only way
I could think of to handle this business rule.
Most of the time, the subreport prints what it previews. Then there
are times when the preview will show wrong info and the print will
show correctly, or vice-versa. So the subreport is unreliable.
The subreport is the only thing in the year footer. There's no
coding. So I don't understand why the flakiness. The subreport does
not write to the array, it just simply reads it and prints it.
Any ideas on why this subreport would be unreliable. Is there a
better way to print this array?
Thanks.