Is that the same report Naomi/Sergey helped you with the other day ?
If yes then check Reset At combo in Report Variables setup dialog.
Since you added group over group, maybe something got messed up there.
BTW I were you, I wld do all this comlex group total calculations in code, on top of a tmp cursor where you hv full control of what is going on, rather
then rely on repvars 100%. If thing get more complex then you are in for nightmare where you will never know what went wrong...
2c
>Hi Borislav
>
>I noted yesterday you were helping someone with a report - group problem, and offered to look at the source.
>
>I've a related problem: I have 3 nested groups, each requiring a total. I got the inner group to work OK but when I added the outer groups, all groups are breaking at the inner group, and incrementing an OVERALL total, rather than just for their groups.
>
>In other words, I'm getting every group total at every break of the inner group.
>
>There's a fair bit of maths going on with the rpt variables, producing %ages and such.
>
>Despite having written many reports, with nested groups, this is the 1st time I've tackled this and I can't figure where it's going wrong.
>
>I wonder if you'd be so kind, I can send the frx and sample cursor, if you'd be so kind as to take a look, as going through a QA session on each element would take forever.
>
>Anybody else willing to take a gander I'd much appreciate it.
>
>Cheers
>
>Terry