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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RECORD NUMBERING RESET

Status
Not open for further replies.

jpd01

Technical User
Feb 27, 2002
7
US
Dear All, I need a simple help from all. how to reset the record numbering for each new groups.
i.e,

for group1 ,

1
2
3
4

for group2, it should start from
1
2
3
4
instead
5
6
7
8

Thanks,
JPD
 
Use a running total field. Insert, field object, running total field, make it a count running total, evaluate on every record, reset on change of group.

If you are on version 6 or older of CR running totals are not available and you will need to use the three formula technique with variables, see teh FAQ area for a very good FAQ on how to do this. Software Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
or...
insert the following formula into the details section

count({field_name},{group_name})

make sure {group_name} exists otherwise you'll get the "Summary/Group field could not be created" crap.

Oh, and read the FAQs...

D. "I want to play..."
(Guess the episode!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top