>Using ReportBehavior 90, I want to count items in the top band, so item 1 in the top band shows as "1. First Item" and then all the detail from band 2 print and then all the detail from band 3 print. Then I want Item 2 to show as "2. Second Item" If I set the variable to count, it will start with 1 and then jumps to 6 or whatever number it reiterates, because of the way ReportBehavior works. How do you get around this?
You need two variables. One to count within a group, let's call it cnt1, and the other cnt2 to calculate cnt2+iif(cnt1=1, 1, 0), initialize with zero.