Put a copy of the subreport in the group header, remove all the print from the copy subreport, and leave only the calculations, paint it really small, pass the value out from this copy, not the other one, suppress based on value.
Alternatively, is there no way of writing an additional query/view on the database that gives the answer at 'group' level, so you can avoid selecting the records entirely? This will undoubtedly make the report run faster.
Main Topics
Browse All Topics





by: mlmccPosted on 2009-08-20 at 16:13:05ID: 25147925
I don't think you can. Are you calculating the total in the VB program?
mlmcc