Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset Record Counts for each new group using variables

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

First, By declaring a variable, I created a formula that displays a record count. Easy enough.

My current formula (in the detail section)is:
WhileReadingRecords;
NumberVar RecordCount;
RecordCount := RecordCount+1

What I want to do is have the count reset itself for each new group. Group A: 1-4 Group B: 1-4, etc.

Secondly, I noticed that if I refreshed the report, the displayed counts became out of sync. It would go from 4 to 13 to 9 to 43 etc. Why?

Thanks folks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top