I always struggle with looping to see when a value changes. Does anyone have a good sample I can copy for future reference?
I want to loop through a set of records that are ordered by let's say automobile make. The records are ordered and I want to count how many chevys vs how many fords, etc. I seem to strugle with how to loop and determine when the records change from chevy to ford. Keeping in mind I may want to perform calculations at the time in which I have counted all of the chevys. Make sense?
I want to loop through a set of records that are ordered by let's say automobile make. The records are ordered and I want to count how many chevys vs how many fords, etc. I seem to strugle with how to loop and determine when the records change from chevy to ford. Keeping in mind I may want to perform calculations at the time in which I have counted all of the chevys. Make sense?