Jun 9, 2003 #1 menuch MIS Jan 8, 2003 46 US How can I reset the record number on change of a group? Thanks! Menuch
Jun 9, 2003 #2 pgtek Programmer Sep 28, 2001 1,180 CA Make a variable to keep track of the value that you're grouping by and then act accordingly. Shared stringvar groupValue; if {GroupNameValue} <> groupValue then //run code here groupValue := {GroupNameValue}; //blah blah blah There may be a more official way to do it but that should work. cheers pgtek Upvote 0 Downvote
Make a variable to keep track of the value that you're grouping by and then act accordingly. Shared stringvar groupValue; if {GroupNameValue} <> groupValue then //run code here groupValue := {GroupNameValue}; //blah blah blah There may be a more official way to do it but that should work. cheers pgtek
Jun 10, 2003 #3 Madawc Programmer Sep 5, 2002 7,628 GB If you use a Running Total, that has an option to start afresh on each group. Alternatively, you could add an invsible field to clear a variable in the group header. Madawc Williams East Anglia, Great Britain Upvote 0 Downvote
If you use a Running Total, that has an option to start afresh on each group. Alternatively, you could add an invsible field to clear a variable in the group header. Madawc Williams East Anglia, Great Britain