Sadly i was not able to really resolve the described issue. The example i posted was really a very very stripped down version of the problem i had. Funny enough i could resolve my problem differently (i had filters set in my query instead of a where clause because i thought the filters were applied during data fetching and not afterwards) Still i think there is a bug here. If you look at the trace, the scriptlet is already called twice before afterReportInit() is even called followed by a final call. The example doesnt use any dataset so that cant be the issue here eighter. sorry that i cant be of much help here. cheers neowarp