Sorry, I have a problem with a report. I have seen sample codes, but no answer. I need to view a sub-report (subrep B) only if previous sub-report (subrep A) doesn't return any row. I have created in master report a variable called SUBREPA_COUNT and assigned the sub-report REPORT_COUNT variable of "subrep A". If I print REPORT_COUNT in "subrep A" it increase its value, but master variable SUBREPA_COUNT remains always null. What's wrong? Thanks Bye Roberto