I've created a report in CR Pro V8.5. It contains 3 subreports in 3 different details sections. Each of the subreports contains a subtotal that gets passed back to the main report. The main report prints the grand total in another detail section below the first 3. I'm using shared variables. In some cases, the subreports have no data and therefore, no subtotal. I'm trying to reset the subtotal variables to zero. It's working for one of the subreports (detail section c, DirCost variable), but the other two are keeping the subtotal value from the previous record if they have no values for the current record. Here is the code I'm using (the lines ending in : are not part of the code).