I'm trying to do something very simple, that I've done often, without luck.

I need a variable to count the rows in a report so that I can perform various
calculations in the break footer.  I tried defining the variable as COUNT OF
PartNumber, but R:Base would not accept that.  So I created a variable
rvPartCount = (.rvPartCount + 1).

This does count up the parts.  However, I need to start the count again after
each break footer, so I checked this variable in the Reset On Break list for
break footer 1.  Unfortunately, the variable does not seem to reset itself
properly, it just keeps incrementing.

I cannot use a DB Calc here, since I need the value for other calculations in
the footer.

This is using v77 (will be upgrading them later this week or next week, but
this report is needed today).  I've looked through the more recent update
notices and seen a couple of things about report variables but nothing that
appears to apply to this situation.  In any case, it's so basic I don't believe
it's a bug -- I think it's just something I've spaced out for the moment.

Any suggestions?
--
Larry

Reply via email to