Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Record count since last occurrence - Crystal 2013

$
0
0

Hello Everyone.

 

I am trying to work out how to best calculate this. I have some records in my details section which is grouped by name.

 

 

Group = Name of Runner (John Smith)

DateTrackWin
1/3/2015West0
1/2/2015North0
1/1/2015East0
12/12/2014West1
10/12/2014West0

 

 

I am trying to return how many '0' occurred before a win was reached. For example Johns last 3 races he did not win, so i want the value to show in the group footer as "3".

 

I am also then trying to only look at the last 10 records in the detail section. if john has not won in the last 10 records then i want it to show "10"

 

any ideas?

 

thanks everyone


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>